diff options
| author | bncastle | 2017-10-31 12:59:30 -0400 |
|---|---|---|
| committer | bncastle | 2017-10-31 12:59:30 -0400 |
| commit | a7feec399240e96297254692b6458a96cd7e708b (patch) | |
| tree | 06255adc67c4a060e528c26102b9432dcd29d6bd /editor/project_settings_editor.cpp | |
| parent | 157fa55e34b9bf21a22876aecef89ed0a9491412 (diff) | |
| download | godot-a7feec399240e96297254692b6458a96cd7e708b.tar.gz godot-a7feec399240e96297254692b6458a96cd7e708b.tar.zst godot-a7feec399240e96297254692b6458a96cd7e708b.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | editor/project_settings_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 3f79d00f8..b21c17654 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) { |
