remove debug output from last commit
[ardour.git] / gtk2_ardour / main.cc
index a3ea0ca4b48ace53192923bbbcace281728a8380..0279c4953e562accdae168ddd34397d2c0635e42 100644 (file)
@@ -127,7 +127,9 @@ maybe_load_session ()
        if (!session_name.length()) {
                ui->hide_splash ();
                if (!Config->get_no_new_session_dialog()) {
-                      ui->new_session ();
+                       if (!ui->new_session ()) {
+                               return false;
+                       }
                }
 
                return true;
@@ -168,7 +170,9 @@ maybe_load_session ()
                /* Show the NSD */
                ui->hide_splash ();
                if (!Config->get_no_new_session_dialog()) {
-                      ui->new_session ();
+                       if (!ui->new_session ()) {
+                               return false;
+                       }
                }
        }