mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-01 11:36:56 +01:00
Restore selection in timeline after reload due to font size change.
This commit is contained in:
parent
2797c607c3
commit
765a91dd34
@ -147,7 +147,9 @@ class TimelineViewController: NSViewController, UndoableCommandRunner {
|
||||
cellAppearance = TimelineCellAppearance(theme: appDelegate.currentTheme, showAvatar: false, fontSize: fontSize)
|
||||
cellAppearanceWithAvatar = TimelineCellAppearance(theme: appDelegate.currentTheme, showAvatar: true, fontSize: fontSize)
|
||||
updateRowHeights()
|
||||
tableView.reloadData()
|
||||
performBlockAndRestoreSelection {
|
||||
tableView.reloadData()
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - API
|
||||
|
Loading…
x
Reference in New Issue
Block a user