mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Also increment the version number
Of course. Duh. Contributes to issue CURA-844.
This commit is contained in:
parent
e02a633ef2
commit
ec5aee253d
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ class Preferences:
|
||||||
visible_settings = visible_settings.join(",")
|
visible_settings = visible_settings.join(",")
|
||||||
self._config.set("machines", "setting_visibility", value = visible_settings)
|
self._config.set("machines", "setting_visibility", value = visible_settings)
|
||||||
|
|
||||||
|
#Update the version number itself.
|
||||||
|
self._config.set("general", "version", value = "3")
|
||||||
|
|
||||||
#Output the result as a string.
|
#Output the result as a string.
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
self._config.write(output)
|
self._config.write(output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue