summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_message.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-17 18:52:33 +0100
committerRobin Gareus <robin@gareus.org>2020-01-17 18:52:33 +0100
commit0ad9c3de1a2a7870e3ce95fa96d0ff96253c52d0 (patch)
treeea62df61883a1fd398d62d6a8c271c0d92a8dc54 /gtk2_ardour/ardour_message.cc
parent4b355868ccef5cb7d48a1e6618d54890e978a42b (diff)
Fix another stuck splash screen
Don't allow dialogs to re-create the splash only to hide it.
Diffstat (limited to 'gtk2_ardour/ardour_message.cc')
-rw-r--r--gtk2_ardour/ardour_message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_message.cc b/gtk2_ardour/ardour_message.cc
index d6302fb2c6..14039d7fe6 100644
--- a/gtk2_ardour/ardour_message.cc
+++ b/gtk2_ardour/ardour_message.cc
@@ -77,7 +77,7 @@ void
ArdourMessageDialog::pop_splash ()
{
if (_splash_pushed) {
- Splash* spl = Splash::instance();
+ Splash* spl = Splash::exists () ? Splash::instance() : NULL;
if (spl) {
spl->pop_front();
}