[AltServer] Fixes About panel appearing behind other windows

This commit is contained in:
Riley Testut
2023-09-13 17:19:19 -05:00
parent 8da9d93c0a
commit fd9561ba1b
2 changed files with 7 additions and 1 deletions

View File

@@ -344,6 +344,12 @@ private extension AppDelegate
}
}
}
@IBAction private func showAboutPanel(_ sender: NSMenuItem)
{
NSApplication.shared.orderFrontStandardAboutPanel(sender)
NSRunningApplication.current.activate(options: .activateIgnoringOtherApps)
}
}
extension AppDelegate: NSMenuDelegate