macOS: Make sure app is active when showing the About dialog
This commit is contained in:
parent
50f6ff311c
commit
b345005645
|
@ -169,6 +169,7 @@ class StatusMenu: NSMenu {
|
|||
tr(format: "macAppVersion (%@)", appVersion),
|
||||
tr(format: "macGoBackendVersion (%@)", WIREGUARD_GO_VERSION)
|
||||
].joined(separator: "\n")
|
||||
NSApp.activate(ignoringOtherApps: true)
|
||||
NSApp.orderFrontStandardAboutPanel(options: [
|
||||
.applicationVersion: appVersionString,
|
||||
.version: ""
|
||||
|
|
Loading…
Reference in New Issue