13
0

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
This commit is contained in:
Paul Davis 2007-03-15 20:53:05 +00:00
parent 42dd93085c
commit f2883c8592

View File

@ -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 */