2
0
Эх сурвалжийг харах

Removed an unused and leaked CheckButton instance in theme editor plugin

(cherry picked from commit cbf2d3cdc4878ee90b2153e56e583bbc06ceb803)
Ibrahn Sahir 6 жил өмнө
parent
commit
78a7f945e4

+ 0 - 1
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);