mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 19:08:58 +08:00
Set the correct result in visible settings
Oops. Contributes to issue CURA-3491.
This commit is contained in:
parent
d006db5b2c
commit
5176b98f6e
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user