Do not permit new combo toggle to remain in indeterminate state on deselect

This commit is contained in:
Bartłomiej Dach 2024-11-14 10:07:09 +01:00
parent 1b279e45cc
commit 88aea70429
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,8 @@ private void createStateBindables()
private void resetTernaryStates()
{
if (SelectionNewComboState.Value == TernaryState.Indeterminate)
SelectionNewComboState.Value = TernaryState.False;
AutoSelectionBankEnabled.Value = true;
SelectionAdditionBanksEnabled.Value = true;
SelectionBankStates[HIT_BANK_AUTO].Value = TernaryState.True;