Fix renaming actions in the Project settings

Fixes #27113, a regression from 6daed7d122
This commit is contained in:
Bojidar Marinov 2019-03-16 16:28:03 +02:00
parent 019908e5f0
commit 699a3957ce
No known key found for this signature in database
GPG Key ID: 4D546A8F1E091856

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