summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2019-05-17 17:26:01 +0200
committerGitHub <noreply@github.com>2019-05-17 17:26:01 +0200
commite5834a3bc8fabfe5f427e5684dcb25fa6e8e45ac (patch)
treef407d3e9c44b5f568817fdc86b7c8fc72b99300d
parentc2df3189fa55eda8ce4284e43eea79da93a13046 (diff)
parentcbf2d3cdc4878ee90b2153e56e583bbc06ceb803 (diff)
Merge pull request #28962 from ibrahn/themeed-checkbutton-leak
Removed an unused and leaked CheckButton instance in theme editor plugin
-rw-r--r--editor/plugins/theme_editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp
index 80e2e99685..85743c96d6 100644
--- a/editor/plugins/theme_editor_plugin.cpp
+++ b/editor/plugins/theme_editor_plugin.cpp
@@ -683,7 +683,6 @@ ThemeEditor::ThemeEditor() {
CheckButton *cb = memnew(CheckButton);
cb->set_text("CheckButton");
first_vb->add_child(cb);
- cb = memnew(CheckButton);
CheckBox *cbx = memnew(CheckBox);
cbx->set_text("CheckBox");
first_vb->add_child(cbx);