mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
set failure message if new session folder cannot be created for any reason during save-as
This commit is contained in:
parent
3a80463177
commit
5b621d03d1
1 changed files with 1 additions and 0 deletions
|
|
@ -4070,6 +4070,7 @@ Session::save_as (SaveAs& saveas)
|
|||
/* create new tree */
|
||||
|
||||
if (!_session_dir->create()) {
|
||||
saveas.failure_message = string_compose (_("Cannot create new session folder %1"), to_dir);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue