mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 16:35:55 +08:00
Fix preferences upgrade in 3.4 to 4.0
This commit is contained in:
parent
e983a9a9e7
commit
293b803dd3
@ -35,7 +35,7 @@ class VersionUpgrade34to40(VersionUpgrade):
|
||||
parser.read_string(serialized)
|
||||
|
||||
# Update version number.
|
||||
parser["general"]["version"] = "4"
|
||||
parser["general"]["version"] = "6"
|
||||
if "metadata" not in parser:
|
||||
parser["metadata"] = {}
|
||||
parser["metadata"]["setting_version"] = "5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user