From e22a444235c455ee9364bb98c4c8945caff047b4 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Mon, 24 Jun 2024 12:41:00 +0800 Subject: [PATCH] Update import dock when select resource in resource panel --- editor/filesystem_dock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 44ff95b0f91..29ca1279b29 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -758,6 +758,8 @@ void FileSystemDock::navigate_to_path(const String &p_path) { // Ensure that the FileSystem dock is visible. EditorDockManager::get_singleton()->focus_dock(this); + import_dock_needs_update = true; + _update_import_dock(); } void FileSystemDock::_file_list_thumbnail_done(const String &p_path, const Ref &p_preview, const Ref &p_small_preview, const Variant &p_udata) {