do not accidentally re-create splash
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Oct 2019 20:44:30 +0000 (14:44 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Oct 2019 20:44:30 +0000 (14:44 -0600)
gtk2_ardour/ardour_ui.cc

index c9940e73e5edd2de003f0453179ab052be2b59cd..14757dd970675cb8f545edfc1adc81dec5847f40 100644 (file)
@@ -864,7 +864,7 @@ ARDOUR_UI::~ARDOUR_UI ()
 void
 ARDOUR_UI::pop_back_splash (Gtk::Window& win)
 {
-       if (Splash::instance()) {
+       if (Splash::exists()) {
                Splash::instance()->pop_back_for (win);
        }
 }