mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
parent
ca18a06ecb
commit
fbb879debd
90 changed files with 238 additions and 232 deletions
|
@ -880,7 +880,7 @@ ScriptCreateDialog::ScriptCreateDialog() {
|
|||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
parent_name = memnew(LineEdit);
|
||||
parent_name->connect("text_changed", callable_mp(this, &ScriptCreateDialog::_parent_name_changed));
|
||||
parent_name->connect(SceneStringName(text_changed), callable_mp(this, &ScriptCreateDialog::_parent_name_changed));
|
||||
parent_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
hb->add_child(parent_name);
|
||||
register_text_enter(parent_name);
|
||||
|
@ -925,7 +925,7 @@ ScriptCreateDialog::ScriptCreateDialog() {
|
|||
hb = memnew(HBoxContainer);
|
||||
hb->connect(SceneStringName(sort_children), callable_mp(this, &ScriptCreateDialog::_path_hbox_sorted));
|
||||
file_path = memnew(LineEdit);
|
||||
file_path->connect("text_changed", callable_mp(this, &ScriptCreateDialog::_path_changed));
|
||||
file_path->connect(SceneStringName(text_changed), callable_mp(this, &ScriptCreateDialog::_path_changed));
|
||||
file_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
hb->add_child(file_path);
|
||||
register_text_enter(file_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue