]> git.sesse.net Git - kdenlive/blobdiff - src/titlewidget.cpp
Merge branch 'master' of git://anongit.kde.org/kdenlive
[kdenlive] / src / titlewidget.cpp
index 5a00bd44077f27038df4f335e848c44fc9fc666a..74f27ac38ffa37476fce63508700e77eb736449c 100644 (file)
@@ -148,8 +148,7 @@ TitleWidget::TitleWidget(KUrl url, Timecode tc, QString projectTitlePath, Render
     splitter->setStretchFactor(0, 20);
 
     //If project is drop frame, set the input mask as such.
-    title_duration->setInputMask("");
-    title_duration->setValidator(m_tc.validator());
+    title_duration->setInputMask(m_tc.mask());
     title_duration->setText(m_tc.reformatSeparators(KdenliveSettings::title_duration()));
 
     connect(backgroundColor, SIGNAL(clicked()), this, SLOT(slotChangeBackground())) ;