mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
call script_callbacks.ui_settings_callback earlier; fix extra-options-section built-in extension killing the ui if using a setting that doesn't exist
This commit is contained in:
@@ -98,6 +98,9 @@ class UiSettings:
|
||||
|
||||
return get_value_for_setting(key), opts.dumpjson()
|
||||
|
||||
def register_settings(self):
|
||||
script_callbacks.ui_settings_callback()
|
||||
|
||||
def create_ui(self, loadsave, dummy_component):
|
||||
self.components = []
|
||||
self.component_dict = {}
|
||||
@@ -105,7 +108,6 @@ class UiSettings:
|
||||
|
||||
shared.settings_components = self.component_dict
|
||||
|
||||
script_callbacks.ui_settings_callback()
|
||||
opts.reorder()
|
||||
|
||||
with gr.Blocks(analytics_enabled=False) as settings_interface:
|
||||
|
Reference in New Issue
Block a user