mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Fix signal error when starting editor
need to merge #8198 to work properly
This commit is contained in:
parent
1c480698ce
commit
519c03e932
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user