summaryrefslogtreecommitdiffstats
path: root/editor/group_settings_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/group_settings_editor.cpp')
-rw-r--r--editor/group_settings_editor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/editor/group_settings_editor.cpp b/editor/group_settings_editor.cpp
index 45da907d8a..a7cfa0d6f4 100644
--- a/editor/group_settings_editor.cpp
+++ b/editor/group_settings_editor.cpp
@@ -80,8 +80,8 @@ void GroupSettingsEditor::_item_edited() {
undo_redo->add_do_property(ProjectSettings::get_singleton(), name, new_description);
undo_redo->add_undo_property(ProjectSettings::get_singleton(), name, old_description);
- undo_redo->add_do_method(this, "call_deferred", "update_groups");
- undo_redo->add_undo_method(this, "call_deferred", "update_groups");
+ undo_redo->add_do_method(this, CoreStringName(call_deferred), "update_groups");
+ undo_redo->add_undo_method(this, CoreStringName(call_deferred), "update_groups");
undo_redo->add_do_method(this, "emit_signal", group_changed);
undo_redo->add_undo_method(this, "emit_signal", group_changed);
@@ -157,8 +157,8 @@ void GroupSettingsEditor::_add_group(const String &p_name, const String &p_descr
undo_redo->add_do_property(ProjectSettings::get_singleton(), name, p_description);
undo_redo->add_undo_property(ProjectSettings::get_singleton(), name, Variant());
- undo_redo->add_do_method(this, "call_deferred", "update_groups");
- undo_redo->add_undo_method(this, "call_deferred", "update_groups");
+ undo_redo->add_do_method(this, CoreStringName(call_deferred), "update_groups");
+ undo_redo->add_undo_method(this, CoreStringName(call_deferred), "update_groups");
undo_redo->add_do_method(this, "emit_signal", group_changed);
undo_redo->add_undo_method(this, "emit_signal", group_changed);
@@ -354,8 +354,8 @@ void GroupSettingsEditor::_confirm_rename() {
undo_redo->add_undo_method(this, "rename_references", new_name, old_name);
}
- undo_redo->add_do_method(this, "call_deferred", "update_groups");
- undo_redo->add_undo_method(this, "call_deferred", "update_groups");
+ undo_redo->add_do_method(this, CoreStringName(call_deferred), "update_groups");
+ undo_redo->add_undo_method(this, CoreStringName(call_deferred), "update_groups");
undo_redo->add_do_method(this, "emit_signal", group_changed);
undo_redo->add_undo_method(this, "emit_signal", group_changed);
@@ -383,8 +383,8 @@ void GroupSettingsEditor::_confirm_delete() {
undo_redo->add_do_method(this, "remove_references", name);
}
- undo_redo->add_do_method(this, "call_deferred", "update_groups");
- undo_redo->add_undo_method(this, "call_deferred", "update_groups");
+ undo_redo->add_do_method(this, CoreStringName(call_deferred), "update_groups");
+ undo_redo->add_undo_method(this, CoreStringName(call_deferred), "update_groups");
undo_redo->add_do_method(this, "emit_signal", group_changed);
undo_redo->add_undo_method(this, "emit_signal", group_changed);