Fix another stuck splash screen

Don't allow dialogs to re-create the splash only to hide it.
This commit is contained in:
Robin Gareus 2020-01-17 18:52:33 +01:00
parent 4b355868cc
commit 0ad9c3de1a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 3 additions and 9 deletions

View file

@ -100,13 +100,7 @@ ARDOUR_UI::first_idle ()
editor->first_idle();
}
/* in 1 second, hide the splash screen
*
* Consider hiding it *now*. If a user opens opens a dialog
* during that one second while the splash is still visible,
* the dialog will push-back the splash.
* Closing the dialog later will pop it back.
*/
/* in 1 second, hide the splash screen */
Glib::signal_timeout().connect (sigc::bind (sigc::ptr_fun (_hide_splash), this), 1000);
Keyboard::set_can_save_keybindings (true);