check if session dir is writable (needed for .bak files, undo, etc)
This commit is contained in:
parent
38a180ddc6
commit
903f1d7853
@ -798,7 +798,7 @@ Session::load_state (string snapshot_name)
|
||||
|
||||
set_dirty();
|
||||
|
||||
_writable = exists_and_writable (xmlpath);
|
||||
_writable = exists_and_writable (xmlpath) && exists_and_writable(Glib::path_get_dirname(xmlpath));
|
||||
|
||||
if (!state_tree->read (xmlpath)) {
|
||||
error << string_compose(_("Could not understand session file %1"), xmlpath) << endmsg;
|
||||
|
Loading…
Reference in New Issue
Block a user