mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Clicking already-selected region should clear other selections. Thanks to nick_m
This commit is contained in:
parent
5c1a561325
commit
aed4ab6ec9
1 changed files with 8 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue