From c0ec12c5bc85640a899599483440bd59a1e44b75 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 Nov 2011 02:14:45 +0000 Subject: [PATCH] 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 --- gtk2_ardour/editor_selection.cc | 7 +------ 1 file changed, 1 insertion(+), 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