revert the renaming _tree_db_selected function
This commit is contained in:
parent
ccf27376a6
commit
75289b4017
|
@ -345,7 +345,7 @@ void FileDialog::_tree_selected() {
|
||||||
get_ok()->set_disabled(_is_open_should_be_disabled());
|
get_ok()->set_disabled(_is_open_should_be_disabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileDialog::_tree_dc_selected() {
|
void FileDialog::_tree_db_selected() {
|
||||||
|
|
||||||
TreeItem *ti = tree->get_selected();
|
TreeItem *ti = tree->get_selected();
|
||||||
if (!ti)
|
if (!ti)
|
||||||
|
@ -754,7 +754,7 @@ void FileDialog::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("_unhandled_input"), &FileDialog::_unhandled_input);
|
ClassDB::bind_method(D_METHOD("_unhandled_input"), &FileDialog::_unhandled_input);
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("_tree_selected"), &FileDialog::_tree_selected);
|
ClassDB::bind_method(D_METHOD("_tree_selected"), &FileDialog::_tree_selected);
|
||||||
ClassDB::bind_method(D_METHOD("_tree_dc_selected"), &FileDialog::_tree_dc_selected);
|
ClassDB::bind_method(D_METHOD("_tree_db_selected"), &FileDialog::_tree_dc_selected);
|
||||||
ClassDB::bind_method(D_METHOD("_dir_entered"), &FileDialog::_dir_entered);
|
ClassDB::bind_method(D_METHOD("_dir_entered"), &FileDialog::_dir_entered);
|
||||||
ClassDB::bind_method(D_METHOD("_file_entered"), &FileDialog::_file_entered);
|
ClassDB::bind_method(D_METHOD("_file_entered"), &FileDialog::_file_entered);
|
||||||
ClassDB::bind_method(D_METHOD("_action_pressed"), &FileDialog::_action_pressed);
|
ClassDB::bind_method(D_METHOD("_action_pressed"), &FileDialog::_action_pressed);
|
||||||
|
@ -889,7 +889,7 @@ FileDialog::FileDialog() {
|
||||||
|
|
||||||
connect("confirmed", this, "_action_pressed");
|
connect("confirmed", this, "_action_pressed");
|
||||||
tree->connect("cell_selected", this, "_tree_selected", varray(), CONNECT_DEFERRED);
|
tree->connect("cell_selected", this, "_tree_selected", varray(), CONNECT_DEFERRED);
|
||||||
tree->connect("item_activated", this, "_tree_dc_selected", varray());
|
tree->connect("item_activated", this, "_tree_db_selected", varray());
|
||||||
tree->connect("nothing_selected", this, "deselect_items");
|
tree->connect("nothing_selected", this, "deselect_items");
|
||||||
dir->connect("text_entered", this, "_dir_entered");
|
dir->connect("text_entered", this, "_dir_entered");
|
||||||
file->connect("text_entered", this, "_file_entered");
|
file->connect("text_entered", this, "_file_entered");
|
||||||
|
|
|
@ -107,7 +107,7 @@ private:
|
||||||
void _tree_selected();
|
void _tree_selected();
|
||||||
|
|
||||||
void _select_drive(int p_idx);
|
void _select_drive(int p_idx);
|
||||||
void _tree_dc_selected();
|
void _tree_db_selected();
|
||||||
void _dir_entered(String p_dir);
|
void _dir_entered(String p_dir);
|
||||||
void _file_entered(const String &p_file);
|
void _file_entered(const String &p_file);
|
||||||
void _action_pressed();
|
void _action_pressed();
|
||||||
|
|
Loading…
Reference in New Issue