]> git.sesse.net Git - kdenlive/commitdiff
Don't move cursor if user wants to select multiple clips
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 8 Mar 2008 22:05:15 +0000 (22:05 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 8 Mar 2008 22:05:15 +0000 (22:05 +0000)
svn path=/branches/KDE4/; revision=2023

src/customtrackview.cpp

index a3d2df9beacae5b776ad5dca1502429620ad29a9..287209f152a73f93709b87307e233eb9e36dc909 100644 (file)
@@ -291,7 +291,7 @@ void CustomTrackView::mouseMoveEvent(QMouseEvent * event) {
             }
         } else {
             m_moveOpMode = NONE;
-            if (event->buttons() != Qt::NoButton) {
+            if (event->buttons() != Qt::NoButton && event->modifiers() == Qt::NoModifier) {
                 setCursorPos((int) mapToScene(event->pos().x(), 0).x() / m_scale);
             }
             if (m_visualTip) {