Godot Engine – Multi-platform 2D and 3D game engine
Fix broken icons when moving the FileSystem dock to the bottom
Michael Alexsanderc75b1bf5d3dd
diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cppindex f13caaec068..232fc2402ca 100644--- a/editor/docks/filesystem_dock.cpp+++ b/editor/docks/filesystem_dock.cpp@@ -561,6 +561,10 @@ void FileSystemDock::_update_display_mode(bool p_force) {_update_file_list(!selected_files.is_empty(), selected_files);} else {tree->ensure_cursor_is_visible();++ // Always update to avoid broken icons, as previous updates+ // could have happened before the dock was inside the tree.+ update_all();}} break;}