summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-08 15:53:42 +0100
committerGitHub <noreply@github.com>2020-12-08 15:53:42 +0100
commit90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (patch)
tree22e25092f8a56af0c467442baa763f7a2db1c7cb /editor/code_editor.cpp
parentedb3686ee2379ad28d1273797db8bd9ded38ff1e (diff)
parente1811b689b6854668ca690831df8603820b68573 (diff)
downloadredot-engine-90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2.tar.gz
Merge pull request #43742 from qarmin/editor_modules_default_values
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 556b5717b3..3dd0977478 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -81,6 +81,8 @@ GotoLineDialog::GotoLineDialog() {
register_text_enter(line);
text_editor = nullptr;
+ line_label = nullptr;
+
set_hide_on_ok(false);
}