]> git.sesse.net Git - kdenlive/blobdiff - src/projectitem.cpp
* Fix missing proxy not re-created on project opening
[kdenlive] / src / projectitem.cpp
index 3e78ae06bd8c22926c78c88162ca3c426b2fbb8d..6c08423650288d032d96007c1b8befa96cfc23d6 100644 (file)
@@ -283,7 +283,7 @@ void ProjectItem::setConditionalJobStatus(CLIPJOBSTATUS status, JOBTYPE requeste
 bool ProjectItem::hasProxy() const
 {
     if (m_clip == NULL) return false;
-    if (m_clip->getProperty("proxy").isEmpty() || m_clip->getProperty("proxy") == "-" || data(0, JobProgressRole).toInt() == JOBCRASHED) return false;
+    if (m_clip->getProperty("proxy").size() < 2 || data(0, JobProgressRole).toInt() == JOBCRASHED) return false;
     return true;
 }