Commit 945b3b41 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't forget to upgrade file version when using old user file

parent 1cba566c
......@@ -431,6 +431,7 @@ QVariantMap UserFileAccessor::restoreSettings(Project *project)
return QVariantMap();
fileName = newestFileName;
fileVersion = newestFileVersion;
if (!reader.load(fileName))
return QVariantMap();
map = reader.restoreValues();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment