]> git.sesse.net Git - kdenlive/commitdiff
Fix autoscrolling
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 5 Sep 2012 15:03:22 +0000 (17:03 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 5 Sep 2012 15:03:22 +0000 (17:03 +0200)
src/customtrackview.cpp

index d538466166da6683faf277220ac797c8ed278ca8..5fd95e1d5cd0299805c5b9ea8b4e3eabd57b874a 100644 (file)
@@ -3364,8 +3364,8 @@ void CustomTrackView::setCursorPos(int pos, bool seek)
        emit cursorMoved((int)(m_cursorPos), (int)(pos));
        m_cursorPos = pos;
        m_cursorLine->setPos(m_cursorPos, 0);
+       if (m_autoScroll) checkScrolling();
     }
-    else if (m_autoScroll) checkScrolling();
 }
 
 void CustomTrackView::updateCursorPos()