]> git.sesse.net Git - kdenlive/commitdiff
When adding a list of clips, don't load each of them in the clip monitor, only the...
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 5 Sep 2009 14:56:08 +0000 (14:56 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 5 Sep 2009 14:56:08 +0000 (14:56 +0000)
svn path=/trunk/kdenlive/; revision=3874

src/projectlist.cpp

index d70479b47ac0f51e53f580a5ce2e949010f8cfc2..1f173bef57a7f4986aa7db0261fb3eb3bf748557 100644 (file)
@@ -884,7 +884,7 @@ void ProjectList::slotReplyGetFileProperties(const QString &clipId, Mlt::Produce
         Q_ASSERT_X(item->referencedClip(), "void ProjectList::slotReplyGetFileProperties", QString("Item with groupName %1 does not have a clip associated").arg(item->groupName()).toLatin1());
         item->referencedClip()->setProducer(producer, replace);
         emit receivedClipDuration(clipId);
-        if (replace) {
+        if (m_listView->isEnabled() && replace) {
             // update clip in clip monitor
             emit clipSelected(NULL);
             emit clipSelected(item->referencedClip());