Add doc for quality settings model grouping

This commit is contained in:
Lipu Fei 2018-03-01 16:29:56 +01:00
parent 71e8478419
commit 59f31c9fe0

View file

@ -100,6 +100,9 @@ class QualitySettingsModel(ListModel):
return
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 = ""
for definition in definition_container.findDefinitions():
if definition.type == "category":