summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-07-18 10:17:43 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-07-18 10:53:44 -0600
commitb47df18d5c42aeda2fbbee18aa9a869b10ca10b8 (patch)
treeee521b14671edea3a1b2b4ef11e54c802319399e /gtk2_ardour/ardour_ui.cc
parent5f8c9a4e607036bdbea0e06f2b9aa50e63ee4943 (diff)
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
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc2
1 files changed, 1 insertions, 1 deletions
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";