X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_ui.cc;h=c923e718b7ee1b5b98d9c9f1b0e2f13e1d1f53dd;hb=c2a93a9b3855f85830a715757b8c131113bc9a3e;hp=d381258ad512c9d33281863921856bd4de683839;hpb=d3d8c36c54b5bfbf84435ddb8e4bbb98be24f0cc;p=ardour.git diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index d381258ad5..c923e718b7 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2565,8 +2565,10 @@ ARDOUR_UI::loading_message (const std::string& msg) } show_splash (); - splash->message (msg); - flush_pending (); + if (splash) { + splash->message (msg); + flush_pending (); + } } /** @param quit_on_cancel true if exit() should be called if the user clicks `cancel' in the new session dialog */ @@ -3000,6 +3002,7 @@ ARDOUR_UI::show_splash () try { splash = new Splash; } catch (...) { + cerr << "Splash could not be created\n"; return; } }