From 11aa68fd6f82008c99176de56e149f617b60d5a9 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 5 Nov 2017 20:59:30 -0800 Subject: [PATCH] When timeline reloads due to a change in sidebar selection, post the selection-did-change notification so that status bar view and detail view can go blank (instead of continuing to show the previous selection). --- Evergreen/MainWindow/Timeline/TimelineViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Evergreen/MainWindow/Timeline/TimelineViewController.swift b/Evergreen/MainWindow/Timeline/TimelineViewController.swift index 4155a807f..2142bab62 100644 --- a/Evergreen/MainWindow/Timeline/TimelineViewController.swift +++ b/Evergreen/MainWindow/Timeline/TimelineViewController.swift @@ -46,6 +46,7 @@ class TimelineViewController: NSViewController, KeyboardDelegate, UndoableComman private var representedObjects: [AnyObject]? { didSet { if !representedObjectArraysAreEqual(oldValue, representedObjects) { + postTimelineSelectionDidChangeNotification(nil) fetchArticles() if articles.count > 0 { tableView.scrollRowToVisible(0)