summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-14 10:00:01 +0200
committerGitHub <noreply@github.com>2018-08-14 10:00:01 +0200
commit62f3de6c86d4802605e0f68a5b2a29650c6f94c1 (patch)
tree5655fe8eebdafb2938b6516db4f27c5fe7d21663
parentf33a9db27906153d334e5f85435e063976daa457 (diff)
parent7db66fea393f066e52aab66ff11d552cb2be97dd (diff)
Merge pull request #20747 from hpvb/fix-20184
Do not call _update_actions when only changing deadzone
-rw-r--r--editor/project_settings_editor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index d52538f67b..ea697f5da2 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -215,10 +215,8 @@ void ProjectSettingsEditor::_action_edited() {
undo_redo->create_action(TTR("Change Action deadzone"));
undo_redo->add_do_method(ProjectSettings::get_singleton(), "set", name, new_action);
- undo_redo->add_do_method(this, "_update_actions");
undo_redo->add_do_method(this, "_settings_changed");
undo_redo->add_undo_method(ProjectSettings::get_singleton(), "set", name, old_action);
- undo_redo->add_undo_method(this, "_update_actions");
undo_redo->add_undo_method(this, "_settings_changed");
undo_redo->commit_action();
}