You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix signal error when starting editor
need to merge #8198 to work properly
This commit is contained in:
@@ -3834,7 +3834,7 @@ CanvasItemEditorViewport::CanvasItemEditorViewport(EditorNode *p_node, CanvasIte
|
|||||||
for (int i = 0; i < types.size(); i++) {
|
for (int i = 0; i < types.size(); i++) {
|
||||||
CheckBox *check = memnew(CheckBox);
|
CheckBox *check = memnew(CheckBox);
|
||||||
check->set_text(types[i]);
|
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);
|
btn_group->add_child(check);
|
||||||
check->set_button_group(button_group);
|
check->set_button_group(button_group);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user