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.
This commit is contained in:
Gil Arasa Verge 2020-02-29 21:11:03 +01:00
parent 16486a9055
commit c27811ee68
1 changed files with 1 additions and 0 deletions

View File

@ -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);