summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-31 23:37:01 +0100
committerGitHub <noreply@github.com>2017-10-31 23:37:01 +0100
commit63adc9f113e62d9afc321d8ffa28d5ecc9b51029 (patch)
tree261f9c200a353cebe5342065855f9fa14dba83e3
parent31c92c532784ee959eba9a3953fa84577df7072a (diff)
parenta7feec399240e96297254692b6458a96cd7e708b (diff)
Merge pull request #12539 from bncastle/InputMapDialogClearAction
Clear action name text input when the action is successfully added to the Input Map [ci skip]
-rw-r--r--editor/project_settings_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index 3f79d00f80..b21c176543 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -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) {