Skip to content

Commit

Permalink
Update import dock when select resource in resource panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjtxietian committed Jun 24, 2024
1 parent 04bf7d4 commit e22a444
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/filesystem_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e22a444

Please sign in to comment.