diff options
| author | Thomas Herzog | 2017-08-07 23:05:09 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-07 23:05:09 +0200 |
| commit | 12a2d7ee6e8dfff803f64ad3061d31a6988c5eb3 (patch) | |
| tree | dfc2bcbdacd4dc7b640f36fcdb9c596a7dd62b24 | |
| parent | c6cb31aa5e45a2c372d408a766c6a9e6562bdb7c (diff) | |
| parent | b8a31d656324c27a6e770c78c068783830c52f65 (diff) | |
| download | godot-12a2d7ee6e8dfff803f64ad3061d31a6988c5eb3.tar.gz godot-12a2d7ee6e8dfff803f64ad3061d31a6988c5eb3.tar.zst godot-12a2d7ee6e8dfff803f64ad3061d31a6988c5eb3.zip | |
| -rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index f08a4d231..7c5cd4860 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -589,7 +589,7 @@ void FileSystemDock::_go_to_dir(const String &p_dir) { void FileSystemDock::_preview_invalidated(const String &p_path) { - if (p_path.get_base_dir() == path && search_box->get_text() == String() && file_list_vb->is_visible_in_tree()) { + if (display_mode == DISPLAY_THUMBNAILS && p_path.get_base_dir() == path && search_box->get_text() == String() && file_list_vb->is_visible_in_tree()) { for (int i = 0; i < files->get_item_count(); i++) { |
