Clear text when a new action is added Project Settings Input Map
When editing the Input Map under Project Settings: Clear the action name the 'Add' button is clicked and the action is successfully added.
This commit is contained in:
parent
157fa55e34
commit
a7feec3992
1 changed files with 1 additions and 0 deletions
|
@ -876,6 +876,7 @@ void ProjectSettingsEditor::_action_add() {
|
||||||
r->select(0);
|
r->select(0);
|
||||||
input_editor->ensure_cursor_is_visible();
|
input_editor->ensure_cursor_is_visible();
|
||||||
action_add_error->hide();
|
action_add_error->hide();
|
||||||
|
action_name->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProjectSettingsEditor::_item_checked(const String &p_item, bool p_check) {
|
void ProjectSettingsEditor::_item_checked(const String &p_item, bool p_check) {
|
||||||
|
|
Loading…
Reference in a new issue