diff options
Diffstat (limited to 'editor/create_dialog.cpp')
| -rw-r--r-- | editor/create_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index 3aaae9d52c..56500c71e2 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -789,7 +789,7 @@ CreateDialog::CreateDialog() { search_box = memnew(LineEdit); search_box->set_clear_button_enabled(true); search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL); - search_box->connect("text_changed", callable_mp(this, &CreateDialog::_text_changed)); + search_box->connect(SceneStringName(text_changed), callable_mp(this, &CreateDialog::_text_changed)); search_box->connect(SceneStringName(gui_input), callable_mp(this, &CreateDialog::_sbox_input)); HBoxContainer *search_hb = memnew(HBoxContainer); |
