mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Do not allow dir-separators in session-template names
See also: 576f10b6f1
This commit is contained in:
parent
a522a98118
commit
d513d8b876
1 changed files with 1 additions and 1 deletions
|
|
@ -2282,7 +2282,7 @@ void
|
|||
ARDOUR_UI::save_template_dialog_response (int response, SaveTemplateDialog* d)
|
||||
{
|
||||
if (response == RESPONSE_ACCEPT) {
|
||||
const string name = d->get_template_name ();
|
||||
const string name = legalize_for_path (d->get_template_name ());
|
||||
const string desc = d->get_description ();
|
||||
|
||||
int failed = _session->save_template (name, desc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue