try using sensitize_the_right_region_actions() when region selection changes, rather than sensitize_all, following a mixbus2 change
git-svn-id: svn://localhost/ardour2/branches/3.0@10608 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b426e7d5e4
commit
c0ec12c5bc
@ -1185,12 +1185,7 @@ Editor::region_selection_changed ()
|
||||
_regions->block_change_connection (false);
|
||||
editor_regions_selection_changed_connection.block(false);
|
||||
|
||||
if (!_all_region_actions_sensitized) {
|
||||
/* This selection change might have changed what region actions
|
||||
are allowed, so sensitize them all in case a key is pressed.
|
||||
*/
|
||||
sensitize_all_region_actions (true);
|
||||
}
|
||||
sensitize_the_right_region_actions ();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user