Fixes a bug on selecting the candidate keys in the preference UI.

This commit is contained in:
zonble 2022-01-16 15:14:49 +08:00
parent c4259c4c4e
commit 5ff6f378e6
1 changed files with 1 additions and 5 deletions

View File

@ -152,12 +152,8 @@ import Carbon
} }
selectionKeyComboBox.stringValue = keys selectionKeyComboBox.stringValue = keys
if keys == Preferences.defaultKeys {
Preferences.candidateKeys = nil
} else {
Preferences.candidateKeys = keys Preferences.candidateKeys = keys
} }
}
} }