aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/TableContent.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 5d05a5e2..2efd6d75 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -366,6 +366,11 @@
// Restore the view origin if appropriate
if (!NSEqualRects(selectionViewportToRestore, NSZeroRect)) {
+
+ // Let the table know the size of the newly available data
+ [tableContentView reloadData];
+
+ // Scroll the viewport to the saved location
selectionViewportToRestore.size = [tableContentView visibleRect].size;
[tableContentView scrollRectToVisible:selectionViewportToRestore];
}