summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-03-05 15:05:53 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-03-05 15:05:53 -0300
commit20b479aaeff31fc8a682dfa5580fe6078cab0266 (patch)
tree1f9ab1103aeceba32178e6ed6a2562a806d517e0 /editor
parentf43ee4aff8e5f72c24cfbd8f1ff90703714857e0 (diff)
Fix FileSystem dock's item view button starting with the wrong icon
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 0eabd6e731..b5d9071199 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -350,7 +350,7 @@ void FileSystemDock::_notification(int p_what) {
button_toggle_display_mode->set_icon(get_icon("Panels2", ei));
button_hist_next->set_icon(get_icon("Forward", ei));
button_hist_prev->set_icon(get_icon("Back", ei));
- if (file_list_display_mode == FILE_LIST_DISPLAY_THUMBNAILS) {
+ if (file_list_display_mode == FILE_LIST_DISPLAY_LIST) {
button_file_list_display_mode->set_icon(get_icon("FileThumbnail", "EditorIcons"));
} else {
button_file_list_display_mode->set_icon(get_icon("FileList", "EditorIcons"));