diff options
Diffstat (limited to 'editor/shader_create_dialog.cpp')
-rw-r--r-- | editor/shader_create_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/shader_create_dialog.cpp b/editor/shader_create_dialog.cpp index 49e057eb6f..fd9d5bc127 100644 --- a/editor/shader_create_dialog.cpp +++ b/editor/shader_create_dialog.cpp @@ -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); |