diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-15 02:14:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-15 02:14:45 +0000 |
commit | c0ec12c5bc85640a899599483440bd59a1e44b75 (patch) | |
tree | 926048dedd1ff460b75003985c689e8f75276b65 /gtk2_ardour/editor_selection.cc | |
parent | b426e7d5e4c2b2c0071ded015c193f78f16ead78 (diff) |
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
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index c598116bad..b362d15f53 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -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 |