mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
restore the lost Uncategorized options section
This commit is contained in:
parent
edc56202c1
commit
3e0146f9bd
1 changed files with 3 additions and 0 deletions
|
|
@ -240,6 +240,9 @@ class Options:
|
|||
|
||||
item_categories = {}
|
||||
for item in self.data_labels.values():
|
||||
if item.section[0] is None:
|
||||
continue
|
||||
|
||||
category = categories.mapping.get(item.category_id)
|
||||
category = "Uncategorized" if category is None else category.label
|
||||
if category not in item_categories:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue