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 ();
|
void on_show ();
|
||||||
virtual void on_response (int);
|
virtual void on_response (int);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void pop_splash ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WM::ProxyTemporary* proxy;
|
WM::ProxyTemporary* proxy;
|
||||||
bool _splash_pushed;
|
bool _splash_pushed;
|
||||||
void init ();
|
void init ();
|
||||||
void pop_splash ();
|
|
||||||
|
|
||||||
static sigc::signal<void> CloseAllDialogs;
|
static sigc::signal<void> CloseAllDialogs;
|
||||||
};
|
};
|
||||||
|
@ -2670,6 +2670,7 @@ EngineControl::start_stop_button_clicked ()
|
|||||||
ARDOUR::AudioEngine::instance()->stop ();
|
ARDOUR::AudioEngine::instance()->stop ();
|
||||||
} else {
|
} else {
|
||||||
if (!ARDOUR_UI::instance()->session_loaded) {
|
if (!ARDOUR_UI::instance()->session_loaded) {
|
||||||
|
pop_splash ();
|
||||||
hide ();
|
hide ();
|
||||||
ARDOUR::GUIIdle ();
|
ARDOUR::GUIIdle ();
|
||||||
}
|
}
|
||||||
@ -3084,6 +3085,7 @@ EngineControl::connect_disconnect_click()
|
|||||||
stop_engine ();
|
stop_engine ();
|
||||||
} else {
|
} else {
|
||||||
if (!ARDOUR_UI::instance()->session_loaded) {
|
if (!ARDOUR_UI::instance()->session_loaded) {
|
||||||
|
pop_splash ();
|
||||||
hide ();
|
hide ();
|
||||||
ARDOUR::GUIIdle ();
|
ARDOUR::GUIIdle ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user