summaryrefslogtreecommitdiffstats
path: root/editor/plugins/camera_3d_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/camera_3d_editor_plugin.cpp')
-rw-r--r--editor/plugins/camera_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/camera_3d_editor_plugin.cpp b/editor/plugins/camera_3d_editor_plugin.cpp
index b9555296b8..62b40043c1 100644
--- a/editor/plugins/camera_3d_editor_plugin.cpp
+++ b/editor/plugins/camera_3d_editor_plugin.cpp
@@ -76,7 +76,7 @@ Camera3DEditor::Camera3DEditor() {
preview->set_offset(SIDE_RIGHT, 0);
preview->set_offset(SIDE_TOP, 0);
preview->set_offset(SIDE_BOTTOM, 10);
- preview->connect("pressed", callable_mp(this, &Camera3DEditor::_pressed));
+ preview->connect(SceneStringName(pressed), callable_mp(this, &Camera3DEditor::_pressed));
}
void Camera3DEditorPlugin::edit(Object *p_object) {