mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 18:32:55 +00:00
Mark article double-clicked in timeline as read (when opening in browser from an inactive window).
This commit is contained in:
1 parent
98e71194a1
commit
97b5311f99
1 file changed
+3
@@ -502,6 +502,9 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
|
||||
|
||||
if let tableView = sender as? NSTableView, tableView === self.tableView, let clickedArticle = articles.articleAtRow(tableView.clickedRow) {
|
||||
article = clickedArticle
|
||||
if !clickedArticle.status.read {
|
||||
markArticles(Set([clickedArticle]), statusKey: .read, flag: true)
|
||||
}
|
||||
} else {
|
||||
article = oneSelectedArticle
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user