13
0

Fall back to default Session export dir, if export path does not exist.

This commit is contained in:
Robin Gareus 2018-07-25 18:21:55 +02:00
parent 0dc9c068e7
commit 4b55d65eaa

View File

@ -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();
}