changeset 339:05449a49cbb4

oops and another selection fix
author matthiasm
date Fri, 13 Jun 2014 16:58:17 +0100
parents 9352a5199953
children 1277a5dd11f6
files src/MainWindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/MainWindow.cpp	Fri Jun 13 16:50:35 2014 +0100
+++ b/src/MainWindow.cpp	Fri Jun 13 16:58:17 2014 +0100
@@ -1215,7 +1215,7 @@
     MultiSelection::SelectionList selections = m_viewManager->getSelections();
     if (!selections.empty()) {
         Selection sel = *selections.begin();
-        isAtSelectionBoundary = (frame == sel.getStartFrame()) || (frame == sel.getEndFrame());
+        isAtSelectionBoundary = (frame == sel.getStartFrame()) || (frame == sel.getEndFrame()+1);
     }
     if (!doSelect || !isAtSelectionBoundary) {
         m_selectionAnchor = frame;