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).
This commit is contained in:
parent
8401d0f2f9
commit
11aa68fd6f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue