From f8f268f55fe557b98c41e156ff2654e65a11948a Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 13 Sep 2018 15:36:07 -0500 Subject: [PATCH] Enabled sidebar to scroll to current selection when using the read next unread function. Issue #201 --- NetNewsWire/MainWindow/Sidebar/SidebarViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NetNewsWire/MainWindow/Sidebar/SidebarViewController.swift b/NetNewsWire/MainWindow/Sidebar/SidebarViewController.swift index 3d39cbb50..a306facec 100644 --- a/NetNewsWire/MainWindow/Sidebar/SidebarViewController.swift +++ b/NetNewsWire/MainWindow/Sidebar/SidebarViewController.swift @@ -194,6 +194,8 @@ import RSCore NSCursor.setHiddenUntilMouseMoves(true) outlineView.selectRowIndexes(IndexSet([row]), byExtendingSelection: false) + outlineView.scrollTo(row: row) + } func focus() {