mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Show the splash-screen if the engine dialog's run() hid it.
This commit is contained in:
parent
057bb167ca
commit
e1c4fe8edc
2 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue