diff --git a/Mac/MainWindow/Sidebar/SidebarViewController.swift b/Mac/MainWindow/Sidebar/SidebarViewController.swift index c07f13a92..e61f9a1ce 100644 --- a/Mac/MainWindow/Sidebar/SidebarViewController.swift +++ b/Mac/MainWindow/Sidebar/SidebarViewController.swift @@ -160,8 +160,7 @@ protocol SidebarDelegate: class { return } - if let feed = representedObject as? Feed, isReadFiltered, feed.unreadCount > 0 { - addTreeControllerToFilterExceptions() + if isReadFiltered { queueRebuildTreeAndRestoreSelection() } } @@ -179,7 +178,6 @@ protocol SidebarDelegate: class { } @objc func batchUpdateDidPerform(_ notification: Notification) { - addTreeControllerToFilterExceptions() rebuildTreeAndRestoreSelection() } @@ -221,7 +219,6 @@ protocol SidebarDelegate: class { } @objc func downloadArticlesDidUpdateUnreadCounts(_ note: Notification) { - addTreeControllerToFilterExceptions() rebuildTreeAndRestoreSelection() }