Fall back to default Session export dir, if export path does not exist.
This commit is contained in:
parent
0dc9c068e7
commit
4b55d65eaa
@ -131,7 +131,7 @@ ExportFilename::set_state (const XMLNode & node)
|
||||
}
|
||||
}
|
||||
|
||||
if (folder.empty()) {
|
||||
if (folder.empty() || !Glib::file_test (folder, FileTest (FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR))) {
|
||||
folder = session.session_directory().export_path();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user