summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ardour_dialog.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_dialog.cc b/gtk2_ardour/ardour_dialog.cc
index ba3a3f73b4..fe3a1cc80f 100644
--- a/gtk2_ardour/ardour_dialog.cc
+++ b/gtk2_ardour/ardour_dialog.cc
@@ -126,11 +126,13 @@ ArdourDialog::on_show ()
// never allow the splash screen to obscure any dialog
- Splash* spl = Splash::instance();
+ if (Splash::exists()) {
+ Splash* spl = Splash::instance();
- if (spl && spl->is_visible()) {
- spl->pop_back_for (*this);
- _splash_pushed = true;
+ if (spl->is_visible()) {
+ spl->pop_back_for (*this);
+ _splash_pushed = true;
+ }
}
}