summaryrefslogtreecommitdiffstats
path: root/editor/editor_locale_dialog.cpp
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2024-06-01 13:15:13 +0300
committerChaosus <chaosus89@gmail.com>2024-08-28 15:14:26 +0300
commit52889ab7ee68d7814d2c443247f16445add89b7c (patch)
treefe76c7cb88186c01510d4e1f5195108d66316a79 /editor/editor_locale_dialog.cpp
parentf648de1a83cf006dbfdaa075219ad4348628e58f (diff)
downloadredot-engine-52889ab7ee68d7814d2c443247f16445add89b7c.tar.gz
[Scene] Add SceneStringName::toggled
Diffstat (limited to 'editor/editor_locale_dialog.cpp')
-rw-r--r--editor/editor_locale_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_locale_dialog.cpp b/editor/editor_locale_dialog.cpp
index 83f1c70c69..c36792c9e3 100644
--- a/editor/editor_locale_dialog.cpp
+++ b/editor/editor_locale_dialog.cpp
@@ -408,7 +408,7 @@ EditorLocaleDialog::EditorLocaleDialog() {
edit_filters->set_text(TTR("Edit Filters"));
edit_filters->set_toggle_mode(true);
edit_filters->set_pressed(false);
- edit_filters->connect("toggled", callable_mp(this, &EditorLocaleDialog::_edit_filters));
+ edit_filters->connect(SceneStringName(toggled), callable_mp(this, &EditorLocaleDialog::_edit_filters));
hb_filter->add_child(edit_filters);
}
{
@@ -416,7 +416,7 @@ EditorLocaleDialog::EditorLocaleDialog() {
advanced->set_text(TTR("Advanced"));
advanced->set_toggle_mode(true);
advanced->set_pressed(false);
- advanced->connect("toggled", callable_mp(this, &EditorLocaleDialog::_toggle_advanced));
+ advanced->connect(SceneStringName(toggled), callable_mp(this, &EditorLocaleDialog::_toggle_advanced));
hb_filter->add_child(advanced);
}
vb->add_child(hb_filter);