Merge pull request #27123 from bojidar-bg/27113-rename-action

Fix renaming actions in the Project settings
This commit is contained in:
Rémi Verschelde 2019-03-16 10:55:01 -07:00 committed by GitHub
commit 06ebf4c3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")); item->add_button(2, get_icon("Add", "EditorIcons"), 1, false, TTR("Add Event"));
if (!ProjectSettings::get_singleton()->get_input_presets().find(pi.name)) { if (!ProjectSettings::get_singleton()->get_input_presets().find(pi.name)) {
item->add_button(2, get_icon("Remove", "EditorIcons"), 2, false, TTR("Remove")); 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++) { for (int i = 0; i < events.size(); i++) {