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
This commit is contained in:
Paul Davis 2010-04-28 22:54:09 +00:00
parent 2324bf93cc
commit 44c2da3197

View file

@ -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;
}