From f2883c859278143868c7621aebbe136d5b412d9c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 15 Mar 2007 20:53:05 +0000 Subject: update editor mixer action if strip is hidden due to track deselect (Carl) git-svn-id: svn://localhost/ardour2/trunk@1600 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_route_list.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index 99031f168c..3983220113 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -27,6 +27,7 @@ #include "audio_time_axis.h" #include "mixer_strip.h" #include "gui_thread.h" +#include "actions.h" #include #include @@ -148,9 +149,10 @@ Editor::remove_route (TimeAxisView *tv) } } /* since the editor mixer goes away when you remove a route, set the - * button to inacttive + * button to inactive and untick the menu option */ editor_mixer_button.set_active(false); + ActionManager::uncheck_toggleaction ("/Editor/show-editor-mixer"); /* and disable if all tracks and/or routes are gone */ -- cgit v1.2.3