Merge pull request #10068 from Cradmon/fix-resource-docker-thumbnail-bug
Fix resource docker thumbnail bug
This commit is contained in:
commit
12a2d7ee6e
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue