SessionCtl // Fix incorrect menu behavior.

This commit is contained in:
ShikiSuen 2024-02-17 17:18:01 +08:00
parent 3545cc1c22
commit 9e3f0d7929
1 changed files with 1 additions and 4 deletions

View File

@ -126,9 +126,6 @@ extension SessionCtl {
.act(#selector(showSettingsAppKit(_:)))
.alternated().nulled(silentMode)
}
NSMenu.Item("vChewing Preferences…")?
.act(#selector(showPreferences(_:)))
.nulled(silentMode)
NSMenu.Item(verbatim: "Client Manager".localized.withEllipsis)?
.act(#selector(showClientListMgr(_:)))
.nulled(silentMode)
@ -142,7 +139,7 @@ extension SessionCtl {
.nulled(silentMode)
NSMenu.Item("About vChewing…")?
.act(#selector(showAbout(_:)))
.alternated()
.nulled(silentMode)
NSMenu.Item("Uninstall vChewing…")?
.act(#selector(selfUninstall(_:)))
.nulled(silentMode || !optionKeyPressed)