]> git.sesse.net Git - kdenlive/commitdiff
timecode widget: fix editingfinished() not emitted when focus leaves.
authorTill Theato <root@ttill.de>
Thu, 30 Jun 2011 14:59:31 +0000 (14:59 +0000)
committerTill Theato <root@ttill.de>
Thu, 30 Jun 2011 14:59:31 +0000 (14:59 +0000)
svn path=/trunk/kdenlive/; revision=5750

src/timecodedisplay.cpp

index acd1515a80b2b23e3c5858532c0b7f983dfea83b..c4b77a4a3a15a9475583dfcd016965ff86accded 100644 (file)
@@ -53,7 +53,7 @@ TimecodeDisplay::TimecodeDisplay(Timecode t, QWidget *parent)
 
     setTimeCodeFormat(KdenliveSettings::frametimecode(), true);
 
-    connect(lineEdit(), SIGNAL(returnPressed()), this, SLOT(slotEditingFinished()));
+    connect(lineEdit(), SIGNAL(editingFinished()), this, SLOT(slotEditingFinished()));
     connect(lineEdit(), SIGNAL(cursorPositionChanged(int, int)), this, SLOT(slotCursorPositionChanged(int, int)));
 }