mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ class Profile:
|
|||
|
||||
if self._settings:
|
||||
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._settings)
|
||||
config.add_section("settings")
|
||||
config.add_section("values")
|
||||
for key, value in self._settings.items():
|
||||
config.set("settings", key, str(value))
|
||||
config.set("values", key, str(value))
|
||||
|
||||
if self._changed_settings_defaults:
|
||||
VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateSettings(self._changed_settings_defaults)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue