]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
Fix dropframe timecode, patch from John T. Mertz
[kdenlive] / src / markerdialog.cpp
index 48c6ad3c0841496c001864db9000ac274f87a239..2f9ff112928e55f7f144f3fbc9c7d60a9e39ec3b 100644 (file)
@@ -84,10 +84,10 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, cons
     } else clip_thumb->setHidden(true);
 
     if (m_frameDisplay) {
-        QValidator *valid = new QIntValidator();
+        QValidator *valid = new QIntValidator(this);
         marker_position->setInputMask("");
         marker_position->setValidator(valid);
-    }
+    } else marker_position->setInputMask(tc.inputMask());
     marker_position->setText(tc.getDisplayTimecode(t.time(), m_frameDisplay));
 
     marker_comment->setText(t.comment());