summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahn Sahir <ibrahn.sahir@gmail.com>2019-05-17 15:37:42 +0100
committerIbrahn Sahir <ibrahn.sahir@gmail.com>2019-05-17 15:39:48 +0100
commitcbf2d3cdc4878ee90b2153e56e583bbc06ceb803 (patch)
treeec8d5114cd3e8d0a91fdf6bc0dd7d15bd7c2cd2b
parent40a5f81ae540cd7923cd438ccb21ffb41cfbc87d (diff)
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);