Merge pull request #8342 from volzhs/error-signal-dnd

Fix signal error when starting editor
This commit is contained in:
Rémi Verschelde 2017-04-10 08:29:41 +02:00 committed by GitHub
commit 8764659234
1 changed files with 1 additions and 1 deletions

View File

@ -3834,7 +3834,7 @@ CanvasItemEditorViewport::CanvasItemEditorViewport(EditorNode *p_node, CanvasIte
for (int i = 0; i < types.size(); i++) {
CheckBox *check = memnew(CheckBox);
check->set_text(types[i]);
check->connect("button_selected", this, "_on_select_type", varray(check));
check->connect("button_down", this, "_on_select_type", varray(check));
btn_group->add_child(check);
check->set_button_group(button_group);
}