We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d1f0bd commit 582d604Copy full SHA for 582d604
ShadowsocksX-NG/StatusItemView.swift
@@ -126,7 +126,7 @@ open class StatusItemView: NSControl {
126
// action
127
extension StatusItemView: NSMenuDelegate {
128
override open func mouseDown(with theEvent: NSEvent) {
129
- statusItem.menu = menu
+ statusItem.popUpMenu(menu!)
130
}
131
132
public func menuWillOpen(_ menu: NSMenu) {
0 commit comments