diff options
| author | Cradmon | 2017-08-03 17:55:48 +0100 |
|---|---|---|
| committer | Cradmon | 2017-08-04 20:11:17 +0100 |
| commit | b8a31d656324c27a6e770c78c068783830c52f65 (patch) | |
| tree | 56fbe30ee230d046f77085309f3825b2df349ff2 /editor/filesystem_dock.cpp | |
| parent | f79a5c464b95bdd274a4e9e5ff4713c7de2be011 (diff) | |
| download | godot-b8a31d656324c27a6e770c78c068783830c52f65.tar.gz godot-b8a31d656324c27a6e770c78c068783830c52f65.tar.zst godot-b8a31d656324c27a6e770c78c068783830c52f65.zip | |
Diffstat (limited to 'editor/filesystem_dock.cpp')
| -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 77ca1a514..22367fa89 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++) { |
