[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdenlive/Applications/16.12] src/timeline/managers: Fix timeline corruption when moving a clip by v
From:       Jean-Baptiste Mardelle <jb () kdenlive ! org>
Date:       2016-11-28 16:21:49
Message-ID: E1cBOgf-000770-UP () code ! kde ! org
[Download RAW message or body]

Git commit 13535766c1b1317f06bcc013c2f81472e691a081 by Jean-Baptiste Mardelle.
Committed on 28/11/2016 at 16:21.
Pushed by mardelle into branch 'Applications/16.12'.

Fix timeline corruption when moving a clip by very small offset

M  +1    -1    src/timeline/managers/movemanager.cpp

https://commits.kde.org/kdenlive/13535766c1b1317f06bcc013c2f81472e691a081

diff --git a/src/timeline/managers/movemanager.cpp b/src/timeline/managers/movemanager.cpp
index 3772437..9263e66 100644
--- a/src/timeline/managers/movemanager.cpp
+++ b/src/timeline/managers/movemanager.cpp
@@ -57,7 +57,7 @@ bool MoveManager::mouseMove(QMouseEvent *event, int , int)
     if (!m_dragMoved && event->buttons() & Qt::LeftButton) {
         if ((m_clickPoint - event->pos()).manhattanLength() < QApplication::startDragDistance()) {
             event->ignore();
-            return false;
+            return true;
         }
         m_dragMoved = true;
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic