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:
parent
42dd93085c
commit
f2883c8592
@ -27,6 +27,7 @@
|
|||||||
#include "audio_time_axis.h"
|
#include "audio_time_axis.h"
|
||||||
#include "mixer_strip.h"
|
#include "mixer_strip.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
|
#include "actions.h"
|
||||||
|
|
||||||
#include <ardour/route.h>
|
#include <ardour/route.h>
|
||||||
#include <ardour/audio_track.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
|
/* 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);
|
editor_mixer_button.set_active(false);
|
||||||
|
ActionManager::uncheck_toggleaction ("<Actions>/Editor/show-editor-mixer");
|
||||||
|
|
||||||
/* and disable if all tracks and/or routes are gone */
|
/* and disable if all tracks and/or routes are gone */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user