Clicking already-selected region should clear other selections. Thanks to nick_m
This commit is contained in:
parent
5c1a561325
commit
aed4ab6ec9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user