Clicking already-selected region should clear other selections. Thanks to nick_m

This commit is contained in:
Ben Loftis 2014-08-12 14:40:43 -05:00
parent 5c1a561325
commit aed4ab6ec9

View File

@ -640,8 +640,14 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op)
selection->set (all_equivalent_regions);
commit = true;
} else {
/* no commit necessary: clicked on an already selected region */
goto out;
/* clicked on an already selected region */
if (press)
goto out;
else {
get_equivalent_regions(clicked_regionview, all_equivalent_regions, ARDOUR::Properties::select.property_id);
selection->set(all_equivalent_regions);
commit = true;
}
}
break;