don't bother with session dialog if user has already provided the name
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Jul 2019 16:17:43 +0000 (10:17 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Jul 2019 16:53:44 +0000 (10:53 -0600)
This recognizes that if a template is desired, it can be also be
set from the cmdline

gtk2_ardour/ardour_ui.cc

index f9d09e34c91fe096f234ac117ace826363a548da..c460d9dafd70bf97d8ca1919d65cc9e9c327732c 100644 (file)
@@ -3343,7 +3343,7 @@ ARDOUR_UI::get_session_parameters (bool quit_on_cancel, bool should_be_new, stri
                        session_dialog.clear_given ();
                }
 
-               if (should_be_new || session_name.empty()) {
+               if (session_name.empty()) {
                        /* need the dialog to get info from user */
 
                        cerr << "run dialog\n";