]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.cpp
Allow working on a project if only proxies are available:
[kdenlive] / src / projectlist.cpp
index fa7680a545a3296f5da7b3b2cd18ebd7d2ab92e3..7be5192807e4b3684a8736533d48cb5cbbde3f2e 100644 (file)
@@ -871,7 +871,9 @@ void ProjectList::adjustProxyActions(ProjectItem *clip) const
         m_proxyAction->setEnabled(false);
         return;
     }
-    m_proxyAction->setEnabled(useProxy());
+    bool enabled = useProxy();
+    if (clip->referencedClip() && !clip->referencedClip()->getProperty("_missingsource").isEmpty()) enabled = false;
+    m_proxyAction->setEnabled(enabled);
     m_proxyAction->blockSignals(true);
     m_proxyAction->setChecked(clip->hasProxy());
     m_proxyAction->blockSignals(false);