Merge pull request #12539 from bncastle/InputMapDialogClearAction

Clear action name text input when the action is successfully added to the Input Map

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-10-31 23:37:01 +01:00 committed by GitHub
commit 63adc9f113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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