diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-28 22:54:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-28 22:54:09 +0000 |
commit | 44c2da31979dd3cd719b6d33e76306341eb03345 (patch) | |
tree | af9358d93621bdd2ccf1ba9ad4b7160967ae9609 | |
parent | 2324bf93ccecccb1857d96f1d2f8d1abdd27e647 (diff) |
if selecting a range in mouse range mode and there is already a time selection, clear it so that the action can actually do something other than just reselect what is already selected
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7015 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 40f98b11e9..d329ca1252 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1315,7 +1315,11 @@ Editor::select_range_between () { nframes64_t start; nframes64_t end; - + + if (mouse_mode == MouseRange && !selection->time.empty()) { + selection->clear_time (); + } + if (!get_edit_op_range (start, end)) { return; } |