Removed an unused and leaked CheckButton instance in theme editor plugin

This commit is contained in:
Ibrahn Sahir 2019-05-17 15:37:42 +01:00
parent 40a5f81ae5
commit cbf2d3cdc4
1 changed files with 0 additions and 1 deletions

View File

@ -683,7 +683,6 @@ ThemeEditor::ThemeEditor() {
CheckButton *cb = memnew(CheckButton); CheckButton *cb = memnew(CheckButton);
cb->set_text("CheckButton"); cb->set_text("CheckButton");
first_vb->add_child(cb); first_vb->add_child(cb);
cb = memnew(CheckButton);
CheckBox *cbx = memnew(CheckBox); CheckBox *cbx = memnew(CheckBox);
cbx->set_text("CheckBox"); cbx->set_text("CheckBox");
first_vb->add_child(cbx); first_vb->add_child(cbx);