diff options
author | Bruno Lourenço <madequa@users.noreply.github.com> | 2019-03-02 23:12:02 +0000 |
---|---|---|
committer | Bruno Lourenço <madequa@users.noreply.github.com> | 2019-03-03 15:02:51 +0000 |
commit | ed7534a6aa34b12f2c7ec6eb159b7def29d0282c (patch) | |
tree | 8fb0da3f66751df51824ad7eb7ae6eae6b5bafca /editor/filesystem_dock.cpp | |
parent | 9db96d9f810ebf60e807eb46a1bd02974be1f375 (diff) |
Fix grid view button icon not showing on filesystem dock.
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 9bd6063a71..66deb42c11 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -302,6 +302,8 @@ void FileSystemDock::_notification(int p_what) { always_show_folders = bool(EditorSettings::get_singleton()->get("docks/filesystem/always_show_folders")); + set_file_list_display_mode(FileSystemDock::FILE_LIST_DISPLAY_LIST); + _update_display_mode(); if (EditorFileSystem::get_singleton()->is_scanning()) { |