Fix renaming actions in the Project settings
Fixes #27113, a regression from 6daed7d122
This commit is contained in:
parent
019908e5f0
commit
699a3957ce
|
@ -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++) {
|
||||||
|
|
Loading…
Reference in New Issue