summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gradient_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-06-19 10:10:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-06-19 10:10:00 +0200
commit558054f707de38b24af9225294a73acc3988a80c (patch)
treee9d7d3834a353e54de3b0d824840c97bf707fcd0 /editor/plugins/gradient_editor_plugin.cpp
parent0cc321b144ecf74315ce2e0b52772cf4f92c9aae (diff)
parentfbb879debd0957354ab42731be402b0a5a9f4e48 (diff)
downloadredot-engine-558054f707de38b24af9225294a73acc3988a80c.tar.gz
Merge pull request #92640 from AThousandShips/text_value_changed_sname
[Scene] Add `SceneStringNames::text/value_changed`
Diffstat (limited to 'editor/plugins/gradient_editor_plugin.cpp')
-rw-r--r--editor/plugins/gradient_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gradient_editor_plugin.cpp b/editor/plugins/gradient_editor_plugin.cpp
index dd7998c6bf..8bf5dad97f 100644
--- a/editor/plugins/gradient_editor_plugin.cpp
+++ b/editor/plugins/gradient_editor_plugin.cpp
@@ -640,7 +640,7 @@ GradientEditor::GradientEditor() {
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, &GradientEditor::_set_snap_count));
+ snap_count_edit->connect(SceneStringName(value_changed), callable_mp(this, &GradientEditor::_set_snap_count));
gradient_editor_rect = memnew(GradientEdit);
add_child(gradient_editor_rect);