SessionCtl_Menu // Remove UOM data of all input modes instead.
This commit is contained in:
parent
dc75148c8c
commit
af386b25c8
|
@ -407,17 +407,13 @@ public extension SessionCtl {
|
|||
|
||||
@objc func removeUnigramsFromUOM(_: Any? = nil) {
|
||||
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode)
|
||||
if NSEvent.modifierFlags.contains(.option) {
|
||||
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode.reversed)
|
||||
}
|
||||
}
|
||||
|
||||
@objc func clearUOM(_: Any? = nil) {
|
||||
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode)
|
||||
if NSEvent.modifierFlags.contains(.option) {
|
||||
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode.reversed)
|
||||
}
|
||||
}
|
||||
|
||||
@objc func showAbout(_: Any? = nil) {
|
||||
CtlAboutWindow.show()
|
||||
|
|
Loading…
Reference in New Issue