mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 15:29:11 +08:00
Also increment the version number
Of course. Duh. Contributes to issue CURA-844.
This commit is contained in:
parent
e02a633ef2
commit
ec5aee253d
@ -55,6 +55,9 @@ class Preferences:
|
||||
visible_settings = visible_settings.join(",")
|
||||
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 = io.StringIO()
|
||||
self._config.write(output)
|
||||
|
Loading…
x
Reference in New Issue
Block a user