13
0

check if session dir is writable (needed for .bak files, undo, etc)

This commit is contained in:
Robin Gareus 2014-03-21 16:06:59 +01:00
parent 38a180ddc6
commit 903f1d7853

View File

@ -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;