]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.cpp
Fix recent regression: slowmotion clips cannot be moved / copied on project opening
[kdenlive] / src / projectlist.cpp
index 4a22c0a11ed19354fdcafb9f85f5feeb5dbf58c7..fdba31b31a92af0057b012242acd16669060d90a 100644 (file)
@@ -1594,6 +1594,10 @@ void ProjectList::updateAllClips(bool displayRatioChanged, bool fpsChanged, QStr
                         resetThumbsProducer(clip);
                        m_render->getFileProperties(xml, clip->getId(), m_listView->iconSize().height(), replace);
                     }
+                    else if (item->numReferences() > 0) {
+                       // In some cases, like slowmotion clips, the producer is not loaded automatically be MLT
+                       m_render->getFileProperties(xml, clip->getId(), m_listView->iconSize().height(), replace);
+                   }
                 }
                 else if (clip->isPlaceHolder()) {
                     item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsDropEnabled);