From c27811ee68eec4b8f043e62dd78c12bb2ffbe974 Mon Sep 17 00:00:00 2001 From: Gil Arasa Verge Date: Sat, 29 Feb 2020 21:11:03 +0100 Subject: [PATCH] Double click on a folder didn't open it There is a deferred call to _update_file_list inside _tree_item_activated but it was not bound. --- scene/gui/file_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index a7205cef662..491bc29bc2e 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -829,6 +829,7 @@ void FileDialog::_bind_methods() { ClassDB::bind_method(D_METHOD("is_showing_hidden_files"), &FileDialog::is_showing_hidden_files); ClassDB::bind_method(D_METHOD("_update_file_name"), &FileDialog::update_file_name); ClassDB::bind_method(D_METHOD("_update_dir"), &FileDialog::update_dir); + ClassDB::bind_method(D_METHOD("_update_file_list"), &FileDialog::update_file_list); ClassDB::bind_method(D_METHOD("deselect_items"), &FileDialog::deselect_items); ClassDB::bind_method(D_METHOD("invalidate"), &FileDialog::invalidate);