[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
@ -564,7 +564,7 @@ PropertySelector::PropertySelector() {
|
||||
//set_child_rect(vbc);
|
||||
search_box = memnew(LineEdit);
|
||||
vbc->add_margin_child(TTR("Search:"), search_box);
|
||||
search_box->connect("text_changed", callable_mp(this, &PropertySelector::_text_changed));
|
||||
search_box->connect(SceneStringName(text_changed), callable_mp(this, &PropertySelector::_text_changed));
|
||||
search_box->connect(SceneStringName(gui_input), callable_mp(this, &PropertySelector::_sbox_input));
|
||||
search_options = memnew(Tree);
|
||||
search_options->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||
|
||||
Reference in New Issue
Block a user