mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Add doc for quality settings model grouping
This commit is contained in:
parent
71e8478419
commit
59f31c9fe0
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ class QualitySettingsModel(ListModel):
|
||||||
return
|
return
|
||||||
settings_keys.update(quality_changes_group.getAllKeys())
|
settings_keys.update(quality_changes_group.getAllKeys())
|
||||||
|
|
||||||
|
# We iterate over all definitions instead of settings in a quality/qualtiy_changes group is because in the GUI,
|
||||||
|
# the settings are grouped together by categories, and we had to go over all the definitions to figure out
|
||||||
|
# which setting belongs in which category.
|
||||||
current_category = ""
|
current_category = ""
|
||||||
for definition in definition_container.findDefinitions():
|
for definition in definition_container.findDefinitions():
|
||||||
if definition.type == "category":
|
if definition.type == "category":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue