mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Oofus's work on region lists: highlight selected canvas regions on the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@4414 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c174fa6174
commit
ef038c1a84
6 changed files with 117 additions and 26 deletions
|
|
@ -852,13 +852,24 @@ Editor::sensitize_the_right_region_actions (bool have_selected_regions)
|
|||
void
|
||||
Editor::region_selection_changed ()
|
||||
{
|
||||
region_list_change_connection.block(true);
|
||||
editor_regions_selection_changed_connection.block(true);
|
||||
|
||||
region_list_display.get_selection()->unselect_all();
|
||||
|
||||
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
|
||||
(*i)->set_selected_regionviews (selection->regions);
|
||||
set_selected_in_region_list(selection->regions);
|
||||
|
||||
}
|
||||
|
||||
sensitize_the_right_region_actions (!selection->regions.empty());
|
||||
|
||||
zoomed_to_region = false;
|
||||
|
||||
region_list_change_connection.block(false);
|
||||
editor_regions_selection_changed_connection.block(false);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue