Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/LibCecTray/controller/applications/ApplicationInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,12 @@ public ApplicationInput AddAction(ActionType action)
return this;
}

public ApplicationInput Clear()
{
_input.Clear();
return this;
}

private readonly List<ApplicationAction> _input = new List<ApplicationAction>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private void BDefaultClick(object sender, EventArgs e)

private void BClearClick(object sender, EventArgs e)
{
_button.Value = null;
_button.Value = _button.Value.Clear();
}

private void BAddKeyClick(object sender, EventArgs e)
Expand Down