diff options
Diffstat (limited to 'editor/plugins/curve_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/curve_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/curve_editor_plugin.cpp b/editor/plugins/curve_editor_plugin.cpp index 99157793ba..e37619aa20 100644 --- a/editor/plugins/curve_editor_plugin.cpp +++ b/editor/plugins/curve_editor_plugin.cpp @@ -1019,7 +1019,7 @@ CurveEditor::CurveEditor() { snap_count_edit->set_value(DEFAULT_SNAP); snap_count_edit->set_custom_minimum_size(Size2(65 * EDSCALE, 0)); toolbar->add_child(snap_count_edit); - snap_count_edit->connect("value_changed", callable_mp(this, &CurveEditor::_set_snap_count)); + snap_count_edit->connect(SceneStringName(value_changed), callable_mp(this, &CurveEditor::_set_snap_count)); presets_button = memnew(MenuButton); presets_button->set_text(TTR("Presets")); |
