From b47df18d5c42aeda2fbbee18aa9a869b10ca10b8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 18 Jul 2019 10:17:43 -0600 Subject: [PATCH] don't bother with session dialog if user has already provided the name This recognizes that if a template is desired, it can be also be set from the cmdline --- gtk2_ardour/ardour_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index f9d09e34c9..c460d9dafd 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -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";