mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-01 12:29:52 +01:00
Use appDelegate’s coalescing queue to update toolbar items.
This commit is contained in:
parent
4e7fc8efcb
commit
b3ea268807
@ -120,7 +120,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
|
||||
@objc func refreshProgressDidChange(_ note: Notification) {
|
||||
|
||||
performSelectorCoalesced(#selector(MainWindowController.makeToolbarValidate(_:)), with: nil, delay: 0.1)
|
||||
appDelegate?.coalescingQueue.add(self, #selector(makeToolbarValidate))
|
||||
}
|
||||
|
||||
@objc func unreadCountDidChange(_ note: Notification) {
|
||||
|
Loading…
Reference in New Issue
Block a user