diff options
author | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-19 15:22:34 -0600 |
---|---|---|
committer | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-19 15:22:34 -0600 |
commit | a31bc1b0ba608ef340068676f6709621a37f2140 (patch) | |
tree | 5335eecd7b570d95da425a68d39657dc11afa9b8 /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | 5ace0beeaae075eb5cfd01748d52d1e21ffdc4f7 (diff) |
Fix two signal errors
Update
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 3ab7fdb39c..c5f6a88783 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -5413,8 +5413,8 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { editor_selection->connect("selection_changed", this, "update"); editor_selection->connect("selection_changed", this, "_selection_changed"); - editor->call_deferred("connect", "play_pressed", this, "_update_override_camera_button", make_binds(true)); - editor->call_deferred("connect", "stop_pressed", this, "_update_override_camera_button", make_binds(false)); + editor->call_deferred("connect", make_binds("play_pressed", this, "_update_override_camera_button", true)); + editor->call_deferred("connect", make_binds("stop_pressed", this, "_update_override_camera_button", false)); hb = memnew(HBoxContainer); add_child(hb); |