mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 14:53:14 +08:00
Also remove removed keys from visible settings
It's listed among the setting keys that you explicitly made visible. Contributes to issue CURA-6460.
This commit is contained in:
parent
056afdde5f
commit
a55cc6fade
@ -77,6 +77,9 @@ class VersionUpgrade41to42(VersionUpgrade):
|
||||
if old_name in visible_settings:
|
||||
visible_settings.remove(old_name)
|
||||
visible_settings.add(new_name)
|
||||
for removed_key in _removed_settings:
|
||||
if removed_key in visible_settings:
|
||||
visible_settings.remove(removed_key)
|
||||
parser["general"]["visible_settings"] = ";".join(visible_settings)
|
||||
|
||||
result = io.StringIO()
|
||||
|
Loading…
x
Reference in New Issue
Block a user