Commit 773f41b1 authored by Julius Künzel's avatar Julius Künzel
Browse files

Titler: Fix crash on load title during animation edit

BUG: 433010
parent 65c66694
Pipeline #53317 passed with stage
in 10 minutes and 38 seconds
...@@ -2052,6 +2052,12 @@ void TitleWidget::loadTitle(QUrl url) ...@@ -2052,6 +2052,12 @@ void TitleWidget::loadTitle(QUrl url)
i18n("Kdenlive title (*.kdenlivetitle)")); i18n("Kdenlive title (*.kdenlivetitle)"));
} }
if (url.isValid()) { if (url.isValid()) {
if (anim_start->isChecked()) {
anim_start->setChecked(false);
}
if (anim_end->isChecked()) {
anim_end->setChecked(false);
}
// make sure we don't delete the guides // make sure we don't delete the guides
qDeleteAll(m_guides); qDeleteAll(m_guides);
m_guides.clear(); m_guides.clear();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment