Show the splash-screen if the engine dialog's run() hid it.
This commit is contained in:
parent
057bb167ca
commit
e1c4fe8edc
@ -49,11 +49,13 @@ public:
|
||||
void on_show ();
|
||||
virtual void on_response (int);
|
||||
|
||||
protected:
|
||||
void pop_splash ();
|
||||
|
||||
private:
|
||||
WM::ProxyTemporary* proxy;
|
||||
bool _splash_pushed;
|
||||
void init ();
|
||||
void pop_splash ();
|
||||
|
||||
static sigc::signal<void> CloseAllDialogs;
|
||||
};
|
||||
|
@ -2670,6 +2670,7 @@ EngineControl::start_stop_button_clicked ()
|
||||
ARDOUR::AudioEngine::instance()->stop ();
|
||||
} else {
|
||||
if (!ARDOUR_UI::instance()->session_loaded) {
|
||||
pop_splash ();
|
||||
hide ();
|
||||
ARDOUR::GUIIdle ();
|
||||
}
|
||||
@ -3084,6 +3085,7 @@ EngineControl::connect_disconnect_click()
|
||||
stop_engine ();
|
||||
} else {
|
||||
if (!ARDOUR_UI::instance()->session_loaded) {
|
||||
pop_splash ();
|
||||
hide ();
|
||||
ARDOUR::GUIIdle ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user