Skip to content

Commit ebec2dd

Browse files
committed
Automatically enable Key when KeyCode is changed
1 parent 2c8692c commit ebec2dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

JoyKeyMapper/Views/KeyConfigView/KeyConfigViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class KeyConfigViewController: NSViewController, NSComboBoxDelegate, KeyConfigCo
114114
func setKeyCode(_ keyCode: UInt16) {
115115
self.keyCode = Int16(keyCode)
116116
self.keyAction.stringValue = getKeyName(keyCode: keyCode)
117+
self.keyRadioButton.state = .on
117118
}
118119

119120
@IBAction func didPushRadioButton(_ sender: NSButton) {}

0 commit comments

Comments
 (0)