ctlPrefWindow // Format tweaks & remove useless expressions.
This commit is contained in:
parent
f0ca99c0cd
commit
f307bc4f85
|
@ -216,6 +216,7 @@ extension RangeReplaceableCollection where Element: Hashable {
|
||||||
do {
|
do {
|
||||||
try Preferences.validate(candidateKeys: keys)
|
try Preferences.validate(candidateKeys: keys)
|
||||||
Preferences.candidateKeys = keys
|
Preferences.candidateKeys = keys
|
||||||
|
selectionKeyComboBox.stringValue = Preferences.candidateKeys
|
||||||
}
|
}
|
||||||
catch Preferences.CandidateKeyError.empty {
|
catch Preferences.CandidateKeyError.empty {
|
||||||
selectionKeyComboBox.stringValue = Preferences.candidateKeys
|
selectionKeyComboBox.stringValue = Preferences.candidateKeys
|
||||||
|
@ -229,9 +230,6 @@ extension RangeReplaceableCollection where Element: Hashable {
|
||||||
clsSFX.beep()
|
clsSFX.beep()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
selectionKeyComboBox.stringValue = keys
|
|
||||||
Preferences.candidateKeys = keys
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue