fix meterbridge window behaviour on session unload/close.
This commit is contained in:
parent
30ff4da054
commit
04ad452bca
@ -214,6 +214,7 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], const char* localedir)
|
||||
|
||||
editor = 0;
|
||||
mixer = 0;
|
||||
meterbridge = 0;
|
||||
editor = 0;
|
||||
engine = 0;
|
||||
_session_is_new = false;
|
||||
@ -510,6 +511,7 @@ ARDOUR_UI::~ARDOUR_UI ()
|
||||
delete keyboard;
|
||||
delete editor;
|
||||
delete mixer;
|
||||
delete meterbridge;
|
||||
|
||||
stop_video_server();
|
||||
}
|
||||
|
@ -212,6 +212,7 @@ ARDOUR_UI::unload_session (bool hide_stuff)
|
||||
if (hide_stuff) {
|
||||
editor->hide ();
|
||||
mixer->hide ();
|
||||
meterbridge->hide ();
|
||||
theme_manager->hide ();
|
||||
audio_port_matrix->hide();
|
||||
midi_port_matrix->hide();
|
||||
|
@ -603,7 +603,7 @@ ARDOUR_UI::use_menubar_as_top_menubar ()
|
||||
void
|
||||
ARDOUR_UI::save_ardour_state ()
|
||||
{
|
||||
if (!keyboard || !mixer || !editor) {
|
||||
if (!keyboard || !mixer || !editor || !meterbridge) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user