summaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authornathanwfranke <nathanwfranke@gmail.com>2020-02-19 15:22:34 -0600
committernathanwfranke <nathanwfranke@gmail.com>2020-02-19 15:22:34 -0600
commita31bc1b0ba608ef340068676f6709621a37f2140 (patch)
tree5335eecd7b570d95da425a68d39657dc11afa9b8 /editor/plugins/canvas_item_editor_plugin.cpp
parent5ace0beeaae075eb5cfd01748d52d1e21ffdc4f7 (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.cpp4
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);