summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-03-15 20:53:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-03-15 20:53:05 +0000
commitf2883c859278143868c7621aebbe136d5b412d9c (patch)
treecbe8a77b42c44c2585c79f8747dee5833e605258
parent42dd93085c0ef66ed84f84bdcb3bf81c95855a5f (diff)
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
-rw-r--r--gtk2_ardour/editor_route_list.cc4
1 files changed, 3 insertions, 1 deletions
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 <ardour/route.h>
#include <ardour/audio_track.h>
@@ -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 ("<Actions>/Editor/show-editor-mixer");
/* and disable if all tracks and/or routes are gone */