diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 78d6d0505bc..6b0cc0a534b 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -345,7 +345,7 @@ void FileDialog::_tree_selected() { get_ok()->set_disabled(_is_open_should_be_disabled()); } -void FileDialog::_tree_db_selected() { +void FileDialog::_tree_dc_selected() { TreeItem *ti = tree->get_selected(); if (!ti) diff --git a/scene/gui/file_dialog.h b/scene/gui/file_dialog.h index e431b3845e2..2a094946820 100644 --- a/scene/gui/file_dialog.h +++ b/scene/gui/file_dialog.h @@ -107,7 +107,7 @@ private: void _tree_selected(); void _select_drive(int p_idx); - void _tree_db_selected(); + void _tree_dc_selected(); void _dir_entered(String p_dir); void _file_entered(const String &p_file); void _action_pressed();