diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-04-10 08:29:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 08:29:41 +0200 |
commit | 8764659234bb2303cf67d7c3ab169946ddd9d277 (patch) | |
tree | 4f5066b357d959aae12ec134c553ec0709428429 | |
parent | 8589ca390373ae2e84d93b4a75640277e38e9780 (diff) | |
parent | 519c03e93228a31a923bb1f539173f015e567480 (diff) |
Merge pull request #8342 from volzhs/error-signal-dnd
Fix signal error when starting editor
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 62a81e8e54..1a533dce32 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -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); } |