set failure message if new session folder cannot be created for any reason during save-as
This commit is contained in:
parent
4a72145d1d
commit
7a0b0685c2
@ -4004,6 +4004,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…
Reference in New Issue
Block a user