]> git.sesse.net Git - kdenlive/blobdiff - src/keyframehelper.cpp
*Add a new page to startup wizard to check presence of important programs (ffplay...
[kdenlive] / src / keyframehelper.cpp
index 6d74ce805471535ab1feef819d697d89be12ff5d..c77c4da477d34f9a7832d7be63247cb3c6a35a0f 100644 (file)
@@ -101,7 +101,7 @@ const int KeyframeHelper::value() const {
 }
 
 void KeyframeHelper::setValue(const int pos) {
-    if (pos == m_position) return;
+    if (pos == m_position || m_geom == NULL) return;
     m_position = pos;
     update();
 }