13
0

don't try to backup sessions from older versions of ardour that are also read-only

git-svn-id: svn://localhost/ardour2/branches/3.0@12823 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-06-22 19:44:11 +00:00
parent e1bb03bba4
commit 0dc43d677e

View File

@ -929,7 +929,7 @@ Session::load_state (string snapshot_name)
}
}
if (Stateful::loading_state_version < CURRENT_SESSION_FILE_VERSION) {
if (Stateful::loading_state_version < CURRENT_SESSION_FILE_VERSION && _writable) {
sys::path backup_path(_session_dir->root_path());