ctlIME // Reset keyLayout when IME Menu presents.

This commit is contained in:
ShikiSuen 2022-03-26 00:27:57 +08:00
parent cc2bee931b
commit 27ed38479e
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ class ctlInputMethod: IMKInputController {
if optionKeyPressed {
menu.addItem(withTitle: NSLocalizedString("Reboot vChewing…", comment: ""), action: #selector(selfTerminate(_:)), keyEquivalent: "")
}
// NSMenu modified key
setKeyLayout(isfunctionKeyboardLayout: false)
return menu
}