Skip to content

Commit 9b36dfe

Browse files
committed
Merge pull request #112052 from Giganzo/filesystem-dock-list-mode
Fix FileSystem file list mode button visibility
2 parents 1025d6f + ac5aa66 commit 9b36dfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/docks/filesystem_dock.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
494494
} else {
495495
toolbar2_hbc->show();
496496
}
497+
button_file_list_display_mode->hide();
497498

498499
_update_tree(get_uncollapsed_paths());
499500
file_list_vb->hide();
@@ -513,6 +514,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
513514
tree->set_v_size_flags(SIZE_EXPAND_FILL);
514515
tree->ensure_cursor_is_visible();
515516
toolbar2_hbc->hide();
517+
button_file_list_display_mode->show();
516518
_update_tree(get_uncollapsed_paths());
517519

518520
file_list_vb->show();

0 commit comments

Comments
 (0)