mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 08:29:01 +08:00
Add doc for quality settings model grouping
This commit is contained in:
parent
71e8478419
commit
59f31c9fe0
@ -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…
x
Reference in New Issue
Block a user