You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
@@ -639,7 +639,7 @@ ShaderCreateDialog::ShaderCreateDialog() {
|
||||
hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
hb->connect(SceneStringName(sort_children), callable_mp(this, &ShaderCreateDialog::_path_hbox_sorted));
|
||||
file_path = memnew(LineEdit);
|
||||
file_path->connect("text_changed", callable_mp(this, &ShaderCreateDialog::_path_changed));
|
||||
file_path->connect(SceneStringName(text_changed), callable_mp(this, &ShaderCreateDialog::_path_changed));
|
||||
file_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
hb->add_child(file_path);
|
||||
register_text_enter(file_path);
|
||||
|
||||
Reference in New Issue
Block a user