Fix renaming actions in the Project settings

Fixes #27113, a regression from 6daed7d122

(cherry picked from commit 699a3957ce)
This commit is contained in:
Bojidar Marinov 2019-03-16 16:28:03 +02:00 committed by Rémi Verschelde
parent d362e3eb11
commit 848bd54dae
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {