1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Fix resource docker thumbnail bug

(cherry picked from commit b8a31d6563)
This commit is contained in:
Cradmon
2017-08-03 17:55:48 +01:00
committed by Rémi Verschelde
parent b694f58959
commit 2b2c0523b5

View File

@@ -586,7 +586,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()) {
if (display_mode == DISPLAY_THUMBNAILS && p_path.get_base_dir() == path && search_box->get_text() == String() && file_list_vb->is_visible()) {
for (int i = 0; i < files->get_item_count(); i++) {