prevent an endless loop when answering "no" regarding opening an existing session when you specificed that you were creating a new one
git-svn-id: svn://localhost/ardour2/branches/3.0@13642 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ab90b7809a
commit
76a26929e1
@ -2454,6 +2454,9 @@ ARDOUR_UI::get_session_parameters (bool quit_on_cancel, bool should_be_new, stri
|
|||||||
session_path = ARDOUR_COMMAND_LINE::session_name;
|
session_path = ARDOUR_COMMAND_LINE::session_name;
|
||||||
session_name = Glib::path_get_basename (ARDOUR_COMMAND_LINE::session_name);
|
session_name = Glib::path_get_basename (ARDOUR_COMMAND_LINE::session_name);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
session_path = "";
|
||||||
|
session_name = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
delete _startup;
|
delete _startup;
|
||||||
|
Loading…
Reference in New Issue
Block a user