From 699a3957ce89afb4603d14fb3dd474dd631a1d48 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Sat, 16 Mar 2019 16:28:03 +0200 Subject: [PATCH] Fix renaming actions in the Project settings Fixes #27113, a regression from 6daed7d12294b3f47f1ecb309d2e2b5b225ee663 --- editor/project_settings_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 1c6359a46b3..21ba6efb825 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++) {