mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue