You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Use SceneStringName in more places
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user