Use SceneStringName in more places

This commit is contained in:
A Thousand Ships 2024-11-02 16:15:39 +01:00
parent 893bbdfde8
commit af56d6e8e8
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7
41 changed files with 69 additions and 69 deletions

View file

@ -500,7 +500,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
group_name->set_h_size_flags(SIZE_EXPAND_FILL);
group_name->set_clear_button_enabled(true);
group_name->connect(SceneStringName(text_changed), callable_mp(this, &GroupSettingsEditor::_group_name_text_changed));
group_name->connect("text_submitted", callable_mp(this, &GroupSettingsEditor::_text_submitted));
group_name->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
hbc->add_child(group_name);
l = memnew(Label);
@ -510,7 +510,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
group_description = memnew(LineEdit);
group_description->set_clear_button_enabled(true);
group_description->set_h_size_flags(SIZE_EXPAND_FILL);
group_description->connect("text_submitted", callable_mp(this, &GroupSettingsEditor::_text_submitted));
group_description->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
hbc->add_child(group_description);
add_button = memnew(Button);