Merge pull request #93533 from jsjtxietian/import-dock

Update import dock when selecting resource in resource panel
This commit is contained in:
Rémi Verschelde 2024-06-27 10:05:56 +02:00
commit 35016d2184
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

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) {