Set the correct result in visible settings

Oops.

Contributes to issue CURA-3491.
This commit is contained in:
Ghostkeeper 2017-05-02 13:58:11 +02:00
parent d006db5b2c
commit 5176b98f6e
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -55,7 +55,7 @@ class VersionUpgrade24to25(VersionUpgrade):
new_visible_settings.append(replaced_setting)
continue #Don't add the original.
new_visible_settings.append(setting) #No special handling, so just add the original visible setting back.
parser["general"]["visible_settings"] = ";".join(visible_settings)
parser["general"]["visible_settings"] = ";".join(new_visible_settings)
#Change the version number in the file.
if parser.has_section("general"): #It better have!