You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user