mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:55:56 +08:00
Rename settings section to values
It should be called 'values' in the new version. Contributes to issue CURA-844.
This commit is contained in:
parent
b841738b76
commit
8f34186a9b
@ -99,9 +99,9 @@ class Profile:
|
|||||||
|
|
||||||
if self._settings:
|
if self._settings:
|
||||||
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._settings)
|
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._settings)
|
||||||
config.add_section("settings")
|
config.add_section("values")
|
||||||
for key, value in self._settings.items():
|
for key, value in self._settings.items():
|
||||||
config.set("settings", key, str(value))
|
config.set("values", key, str(value))
|
||||||
|
|
||||||
if self._changed_settings_defaults:
|
if self._changed_settings_defaults:
|
||||||
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._changed_settings_defaults)
|
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._changed_settings_defaults)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user