changeset 337:b5ed315a8b93

fixed selection by note move to not include the next note on the right
author matthiasm
date Fri, 13 Jun 2014 16:50:17 +0100
parents ef298f4e16bf
children 9352a5199953
files .hgsubstate src/MainWindow.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Fri Jun 13 16:09:11 2014 +0100
+++ b/.hgsubstate	Fri Jun 13 16:50:17 2014 +0100
@@ -4,4 +4,4 @@
 553a5f65ef64811747a6613f759622d655db63c1 sv-dependency-builds
 5302c548adadd5e3ddb5fd2eafa45ce3033183e7 svapp
 4c7b4040bd2daac3883a9def0279fae7104ad9a2 svcore
-54efa0a4f728a90a8c42e640a0f9d0a3b79eb6f4 svgui
+7717751f44070920714ed7885b409332556944db svgui
--- a/src/MainWindow.cpp	Fri Jun 13 16:09:11 2014 +0100
+++ b/src/MainWindow.cpp	Fri Jun 13 16:50:17 2014 +0100
@@ -1256,9 +1256,9 @@
     if (doSelect) {
         Selection sel;
         if (frame > m_selectionAnchor) {
-            sel = Selection(m_selectionAnchor, frame);
+            sel = Selection(m_selectionAnchor, frame-1);
         } else {
-            sel = Selection(frame, m_selectionAnchor);
+            sel = Selection(frame, m_selectionAnchor-1);
         }
         m_viewManager->setSelection(sel);
     }