summaryrefslogtreecommitdiff
path: root/editor/plugins/text_control_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-14 16:40:40 +0100
committerGitHub <noreply@github.com>2022-02-14 16:40:40 +0100
commitf810f76890f23843f3895262fe2f88a7d5d3c3f3 (patch)
treecc47e48e0e378357dc4d82822a0d8c415990df1e /editor/plugins/text_control_editor_plugin.cpp
parentcd6301ae255f7d4fc6f0c885ea1531b4574512e9 (diff)
parent05b56f316ddc94c2bb55b62477ec3914fe81a220 (diff)
Merge pull request #57306 from trollodel/remove_editornode_param
Diffstat (limited to 'editor/plugins/text_control_editor_plugin.cpp')
-rw-r--r--editor/plugins/text_control_editor_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/text_control_editor_plugin.cpp b/editor/plugins/text_control_editor_plugin.cpp
index d05fd7dc9c..ab3d6dcca9 100644
--- a/editor/plugins/text_control_editor_plugin.cpp
+++ b/editor/plugins/text_control_editor_plugin.cpp
@@ -653,8 +653,7 @@ void TextControlEditorPlugin::make_visible(bool p_visible) {
}
}
-TextControlEditorPlugin::TextControlEditorPlugin(EditorNode *p_node) {
- editor = p_node;
+TextControlEditorPlugin::TextControlEditorPlugin() {
text_ctl_editor = memnew(TextControlEditor);
CanvasItemEditor::get_singleton()->add_control_to_menu_panel(text_ctl_editor);