mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 04:49:01 +08:00
Apply changed visible settings to preferences file
Otherwise the change will not be made to the actual file, just in memory. Contributes to issue CURA-6311.
This commit is contained in:
parent
a82e4bbb0b
commit
2fb722b287
@ -72,6 +72,7 @@ class VersionUpgrade41to42(VersionUpgrade):
|
||||
if old_name in visible_settings:
|
||||
visible_settings.remove(old_name)
|
||||
visible_settings.add(new_name)
|
||||
parser["general"]["visible_settings"] = ";".join(visible_settings)
|
||||
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user