mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Add top_bottom category to visible settings in preference
CURA-8810_version_upgrade
This commit is contained in:
parent
b05b36ae56
commit
85fa07f6dd
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ class VersionUpgrade48to49(VersionUpgrade):
|
|||
# Update version number.
|
||||
parser["metadata"]["setting_version"] = "17"
|
||||
|
||||
# Update visibility settings to include new top_bottom category
|
||||
parser["general"]["visible_settings"] += ";top_bottom"
|
||||
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
return [filename], [result.getvalue()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue