SessionCtl // Fix incorrect menu behavior.
This commit is contained in:
parent
3545cc1c22
commit
9e3f0d7929
|
@ -126,9 +126,6 @@ extension SessionCtl {
|
||||||
.act(#selector(showSettingsAppKit(_:)))
|
.act(#selector(showSettingsAppKit(_:)))
|
||||||
.alternated().nulled(silentMode)
|
.alternated().nulled(silentMode)
|
||||||
}
|
}
|
||||||
NSMenu.Item("vChewing Preferences…")?
|
|
||||||
.act(#selector(showPreferences(_:)))
|
|
||||||
.nulled(silentMode)
|
|
||||||
NSMenu.Item(verbatim: "Client Manager".localized.withEllipsis)?
|
NSMenu.Item(verbatim: "Client Manager".localized.withEllipsis)?
|
||||||
.act(#selector(showClientListMgr(_:)))
|
.act(#selector(showClientListMgr(_:)))
|
||||||
.nulled(silentMode)
|
.nulled(silentMode)
|
||||||
|
@ -142,7 +139,7 @@ extension SessionCtl {
|
||||||
.nulled(silentMode)
|
.nulled(silentMode)
|
||||||
NSMenu.Item("About vChewing…")?
|
NSMenu.Item("About vChewing…")?
|
||||||
.act(#selector(showAbout(_:)))
|
.act(#selector(showAbout(_:)))
|
||||||
.alternated()
|
.nulled(silentMode)
|
||||||
NSMenu.Item("Uninstall vChewing…")?
|
NSMenu.Item("Uninstall vChewing…")?
|
||||||
.act(#selector(selfUninstall(_:)))
|
.act(#selector(selfUninstall(_:)))
|
||||||
.nulled(silentMode || !optionKeyPressed)
|
.nulled(silentMode || !optionKeyPressed)
|
||||||
|
|
Loading…
Reference in New Issue