# HG changeset patch # User Chris Cannam # Date 1254491770 0 # Node ID 9f49d0f1bd2016234db09bb7ee90879819c04f20 # Parent f701c0c686e5117037e55202ebd1dfeccdae598a * Big improvements to editing behaviour in note and region models diff -r f701c0c686e5 -r 9f49d0f1bd20 framework/MainWindowBase.cpp --- 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(layer->getModel()); if (rm) { RegionModel::Point point(alignedStart, - rm->getValueMinimum(), + rm->getValueMaximum() + 1, alignedDuration, ""); RegionModel::EditCommand *command =