]> git.sesse.net Git - kdenlive/commitdiff
Fix keyframe move in geometry widgets
authorTill Theato <root@ttill.de>
Fri, 3 Sep 2010 14:46:32 +0000 (14:46 +0000)
committerTill Theato <root@ttill.de>
Fri, 3 Sep 2010 14:46:32 +0000 (14:46 +0000)
svn path=/trunk/kdenlive/; revision=4824

src/geometryval.cpp
src/geometrywidget.cpp

index a4879463a0cd30241e1c2cb413d070a0b8c1e091..45f0f206735e040d91718c815ec27d7ad56ec051 100644 (file)
@@ -26,6 +26,7 @@
 #include <QGraphicsRectItem>
 #include <QMenu>
 #include <QInputDialog>
+#include <QTimer>
 
 
 Geometryval::Geometryval(const MltVideoProfile profile, Timecode t, QPoint frame_size, int startPoint, QWidget* parent) :
@@ -498,6 +499,7 @@ void Geometryval::slotKeyframeMoved(int pos)
 {
     slotPositionChanged(pos);
     slotUpdateTransitionProperties();
+    QTimer::singleShot(100, this, SIGNAL(parameterChanged()));
 }
 
 void Geometryval::slotSwitchOptions()
index 9cf791c6d791e0bd02a796332493517e7367b9c7..d9d67d7ef062b7434cb1f22daa34aaeca1213f8f 100644 (file)
@@ -281,6 +281,7 @@ void GeometryWidget::slotKeyframeMoved(int pos)
 {
     slotPositionChanged(pos);
     slotUpdateGeometry();
+    QTimer::singleShot(100, this, SIGNAL(parameterChanged()));
 }
 
 void GeometryWidget::slotAddKeyframe(int pos)