Skip to content

Commit

Permalink
fix: 修复打开首选项时,不在最前方显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyyb committed Nov 30, 2024
1 parent b7e5ebc commit 81bb2d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Fire/FireMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ extension FireInputController {
}
@objc func checkForUpdates(_ sender: Any!) {
NSApp.setActivationPolicy(.accessory)
NSApp.activate(ignoringOtherApps: true)
SUUpdater.shared()?.checkForUpdates(sender)
}
override func showPreferences(_ sender: Any!) {
NSApp.setActivationPolicy(.accessory)
NSApp.activate(ignoringOtherApps: true)
FirePreferencesController.shared.show()
}
@objc func showUserDictPrefs(_ sender: Any!) {
Expand Down

0 comments on commit 81bb2d1

Please sign in to comment.