Commit d7e2372d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix crash when searching for missing clips, correctly look for missing...

Fix crash when searching for missing clips, correctly look for missing playlists and clear effectstack when transition is unselected
parent b753b3cf
......@@ -124,7 +124,7 @@ bool DocumentChecker::hasErrorInClips()
max = documentProducers.count();
QStringList verifiedPaths;
QStringList serviceToCheck;
serviceToCheck << QStringLiteral("kdenlivetitle") << QStringLiteral("qimage") << QStringLiteral("pixbuf") << QStringLiteral("timewarp") << QStringLiteral("framebuffer");
serviceToCheck << QStringLiteral("kdenlivetitle") << QStringLiteral("qimage") << QStringLiteral("pixbuf") << QStringLiteral("timewarp") << QStringLiteral("framebuffer") << QStringLiteral("xml");
for (int i = 0; i < max; ++i) {
e = documentProducers.item(i).toElement();
QString service = EffectsList::property(e, QStringLiteral("mlt_service"));
......@@ -523,7 +523,7 @@ void DocumentChecker::slotSearchClips()
int ix = 0;
bool fixed = false;
m_ui.recursiveSearch->setChecked(true);
qApp->processEvents();
//TODO: make non modal
QTreeWidgetItem *child = m_ui.treeWidget->topLevelItem(ix);
QDir searchDir(newpath);
while (child) {
......
......@@ -7676,7 +7676,10 @@ void CustomTrackView::clearSelection(bool emitInfo)
scene()->clearSelection();
if (m_dragItem) m_dragItem->setMainSelectedClip(false);
m_dragItem = NULL;
if (emitInfo) emit clipItemSelected(NULL);
if (emitInfo) {
emit clipItemSelected(NULL);
emit transitionItemSelected(NULL);
}
}
void CustomTrackView::updatePalette()
......
Supports Markdown
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