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:
bncastle 2017-10-31 12:59:30 -04:00
parent 157fa55e34
commit a7feec3992

View file

@ -876,6 +876,7 @@ void ProjectSettingsEditor::_action_add() {
r->select(0);
input_editor->ensure_cursor_is_visible();
action_add_error->hide();
action_name->clear();
}
void ProjectSettingsEditor::_item_checked(const String &p_item, bool p_check) {