summaryrefslogtreecommitdiffstats
path: root/modules/noise/editor/noise_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/noise/editor/noise_editor_plugin.cpp')
-rw-r--r--modules/noise/editor/noise_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/editor/noise_editor_plugin.cpp b/modules/noise/editor/noise_editor_plugin.cpp
index 917fa0cd15..200f31cca1 100644
--- a/modules/noise/editor/noise_editor_plugin.cpp
+++ b/modules/noise/editor/noise_editor_plugin.cpp
@@ -67,7 +67,7 @@ public:
_3d_space_switch->set_toggle_mode(true);
_3d_space_switch->set_offset(SIDE_LEFT, PADDING_3D_SPACE_SWITCH);
_3d_space_switch->set_offset(SIDE_TOP, PADDING_3D_SPACE_SWITCH);
- _3d_space_switch->connect("pressed", callable_mp(this, &NoisePreview::_on_3d_button_pressed));
+ _3d_space_switch->connect(SceneStringName(pressed), callable_mp(this, &NoisePreview::_on_3d_button_pressed));
add_child(_3d_space_switch);
}