1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix FileSystem file list mode button visibility

This commit is contained in:
Giganzo
2025-10-26 13:40:10 +01:00
parent 0fdb93cde6
commit ac5aa66012

View File

@@ -494,6 +494,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
} else {
toolbar2_hbc->show();
}
button_file_list_display_mode->hide();
_update_tree(get_uncollapsed_paths());
file_list_vb->hide();
@@ -513,6 +514,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
tree->set_v_size_flags(SIZE_EXPAND_FILL);
tree->ensure_cursor_is_visible();
toolbar2_hbc->hide();
button_file_list_display_mode->show();
_update_tree(get_uncollapsed_paths());
file_list_vb->show();