]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
Add crop end info to clip info dialog (based on a patch by Till Theato):
[kdenlive] / src / markerdialog.cpp
index c437aa82d3505a0a88b98905999e795cea873ec7..01f922508b538786477ab8baa7d64d86b5f92910 100644 (file)
@@ -83,7 +83,9 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, cons
     } else clip_thumb->setHidden(true);
 
     if (KdenliveSettings::frametimecode()) {
-        marker_position->setInputMask("000000000000");
+        QValidator *valid = new QIntValidator();
+        marker_position->setInputMask("");
+        marker_position->setValidator(valid);
         marker_position->setText(QString::number((int) t.time().frames(m_fps)));
     } else marker_position->setText(tc.getTimecode(t.time()));