diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-04-19 10:40:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 10:40:29 +0200 |
commit | 8ba06e3161315f1af4207443df86b82d4dd6f06c (patch) | |
tree | 051eac7c1458c67cd648e9ddfc564e77f13bc7c3 /editor/plugins/visual_shader_editor_plugin.cpp | |
parent | f41e7779fd3672c9da43460408f42bf06a3d803f (diff) | |
parent | 86822b187eaa0f3cfbefcb00f664d189c977658f (diff) | |
download | redot-engine-8ba06e3161315f1af4207443df86b82d4dd6f06c.tar.gz |
Merge pull request #47448 from madmiraal/rename-lineedit-cursor
Rename LineEdit getters and setters to match property names
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 80ce0623bb..dea85e8799 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -3695,7 +3695,7 @@ VisualShaderEditor::VisualShaderEditor() { comment_title_change_popup = memnew(PopupPanel); comment_title_change_edit = memnew(LineEdit); - comment_title_change_edit->set_expand_to_text_length(true); + comment_title_change_edit->set_expand_to_text_length_enabled(true); comment_title_change_edit->connect("text_changed", callable_mp(this, &VisualShaderEditor::_comment_title_text_changed)); comment_title_change_edit->connect("text_entered", callable_mp(this, &VisualShaderEditor::_comment_title_text_entered)); comment_title_change_popup->add_child(comment_title_change_edit); |