浏览代码

Removed an unused and leaked CheckButton instance in theme editor plugin

(cherry picked from commit cbf2d3cdc4878ee90b2153e56e583bbc06ceb803)
Ibrahn Sahir 6 年之前
父节点
当前提交
78a7f945e4
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);