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