Update import dock when select resource in resource panel

This commit is contained in:
jsjtxietian 2024-06-24 12:41:00 +08:00
parent 04bf7d4cad
commit e22a444235

View file

@ -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<Texture2D> &p_preview, const Ref<Texture2D> &p_small_preview, const Variant &p_udata) {