Skip to content

Commit 5b633b3

Browse files
committed
perf(datagrid): updateCache reads live tableRowsProvider so post-Delta count is fresh
1 parent d8c143c commit 5b633b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

TablePro/Views/Results/DataGridCoordinator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ final class TableViewCoordinator: NSObject, NSTableViewDelegate, NSTableViewData
206206
}
207207

208208
func updateCache() {
209+
cachedTableRows = tableRowsProvider()
209210
cachedRowCount = sortedIDs?.count ?? cachedTableRows.count
210211
cachedColumnCount = cachedTableRows.columns.count
211212
}

0 commit comments

Comments
 (0)