changeset 185:9f49d0f1bd20 sv-v1.7

* Big improvements to editing behaviour in note and region models
author Chris Cannam
date Fri, 02 Oct 2009 13:56:10 +0000
parents f701c0c686e5
children f694ee2567fe
files framework/MainWindowBase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Mon Sep 28 10:39:13 2009 +0000
+++ b/framework/MainWindowBase.cpp	Fri Oct 02 13:56:10 2009 +0000
@@ -896,7 +896,7 @@
     RegionModel *rm = dynamic_cast<RegionModel *>(layer->getModel());
     if (rm) {
         RegionModel::Point point(alignedStart,
-                                 rm->getValueMinimum(), 
+                                 rm->getValueMaximum() + 1,
                                  alignedDuration,
                                  "");
         RegionModel::EditCommand *command =