Browse Source

Removed an unused and leaked CheckButton instance in theme editor plugin

(cherry picked from commit cbf2d3cdc4878ee90b2153e56e583bbc06ceb803)
Ibrahn Sahir 6 năm trước cách đây
mục cha
commit
78a7f945e4
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      editor/plugins/theme_editor_plugin.cpp

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