From a7feec399240e96297254692b6458a96cd7e708b Mon Sep 17 00:00:00 2001 From: bncastle Date: Tue, 31 Oct 2017 12:59:30 -0400 Subject: 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. --- editor/project_settings_editor.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3