Merge pull request #28962 from ibrahn/themeed-checkbutton-leak

Removed an unused and leaked CheckButton instance in theme editor plugin
This commit is contained in:
Max Hilbrunner 2019-05-17 17:26:01 +02:00 committed by GitHub
commit e5834a3bc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);