mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
@@ -258,8 +258,9 @@ def create_ui(disabled_tabs=None):
|
||||
item for item in shared.opts.data_labels.items()
|
||||
if item[1].section is not None and item[1].section[0] == section_id
|
||||
] # find all items in this section
|
||||
hidden = (section_id is None) or ('hidden' in section_id.lower()) or ('hidden' in section_text.lower()) or ('legacy' in section_id.lower()) or ('legacy' in section_text.lower())
|
||||
# log.trace(f'Settings: section="{section_id}" title="{section_text}" items={len(items)} hidden={hidden}')
|
||||
hidden = (section_id is None) or ('hidden' in section_id.lower()) or ('hidden' in section_text.lower())
|
||||
for (key, _item) in items:
|
||||
log.trace(f'Settings: id={section_id} text={section_text} key={key} hidden={hidden}')
|
||||
if hidden:
|
||||
for (key, _item) in items:
|
||||
hidden_list.append(key)
|
||||
|
||||
Reference in New Issue
Block a user