aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_items.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-31 17:31:17 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-31 17:31:17 +0000
commit583fb9f066e1f9aa95a404a9d6446c138d6f6167 (patch)
treea9be71f6030ac153adb7677e1986b17881681918 /modules/shared_items.py
parent05933840f0676dd1a90a7e2ad3f2a0672624b2cd (diff)
downloadstable-diffusion-webui-gfx803-583fb9f066e1f9aa95a404a9d6446c138d6f6167.tar.gz
stable-diffusion-webui-gfx803-583fb9f066e1f9aa95a404a9d6446c138d6f6167.tar.bz2
stable-diffusion-webui-gfx803-583fb9f066e1f9aa95a404a9d6446c138d6f6167.zip
change UI reorder setting to multiselect
Diffstat (limited to 'modules/shared_items.py')
-rw-r--r--modules/shared_items.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/shared_items.py b/modules/shared_items.py
index 7f306a06..27bceb18 100644
--- a/modules/shared_items.py
+++ b/modules/shared_items.py
@@ -40,3 +40,20 @@ def refresh_unet_list():
modules.sd_unet.list_unets()
+
+ui_reorder_categories_builtin_items = [
+ "inpaint",
+ "sampler",
+ "checkboxes",
+ "hires_fix",
+ "dimensions",
+ "cfg",
+ "seed",
+ "batch",
+ "override_settings",
+]
+
+
+def ui_reorder_categories():
+ yield from ui_reorder_categories_builtin_items
+ yield "scripts"