From 74ad7d57ff0718124dedc06a8048695ef2bb9acd Mon Sep 17 00:00:00 2001 From: AlUlkesh <99896447+AlUlkesh@users.noreply.github.com> Date: Thu, 24 Aug 2023 21:07:32 +0200 Subject: [PATCH] fix: Others / subdir function --- scripts/image_browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/image_browser.py b/scripts/image_browser.py index a998673..453b374 100644 --- a/scripts/image_browser.py +++ b/scripts/image_browser.py @@ -1452,8 +1452,8 @@ def create_tab(tab: ImageBrowserTab, current_gr_tab: gr.Tab): show_progress=opts.image_browser_show_progress ) img_path_subdirs.change( - fn=change_dir, - inputs=[warning_box, img_path_subdirs, path_recorder, load_switch, img_path_browser, img_path_depth, img_path], + fn=change_dir_dropdown, + inputs=[img_path_subdirs, path_recorder, load_switch, img_path_browser, img_path_depth], outputs=change_dir_outputs, show_progress=opts.image_browser_show_progress )