summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-16 10:55:01 -0700
committerGitHub <noreply@github.com>2019-03-16 10:55:01 -0700
commit06ebf4c3adbc098964d1b179c8b573b9d1e7c2fd (patch)
tree5572bdc18387289bb1985e4facfb64412c6a95dc
parent18fa1846ea885a0b75f12702555b621541f787be (diff)
parent699a3957ce89afb4603d14fb3dd474dd631a1d48 (diff)
Merge pull request #27123 from bojidar-bg/27113-rename-action
Fix renaming actions in the Project settings
-rw-r--r--editor/project_settings_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index 1c6359a46b..21ba6efb82 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -703,7 +703,7 @@ void ProjectSettingsEditor::_update_actions() {
item->add_button(2, get_icon("Add", "EditorIcons"), 1, false, TTR("Add Event"));
if (!ProjectSettings::get_singleton()->get_input_presets().find(pi.name)) {
item->add_button(2, get_icon("Remove", "EditorIcons"), 2, false, TTR("Remove"));
- item->set_editable(2, true);
+ item->set_editable(0, true);
}
for (int i = 0; i < events.size(); i++) {