aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index cc0102f2..7ffb2f1c 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -1002,6 +1002,7 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
// Update the data storage, updating the current store if appropriate
pthread_mutex_lock(&tableValuesLock);
+ tableRowsCount = 0;
[tableValues setDataStorage:theResultStore updatingExisting:!![tableValues count]];
pthread_mutex_unlock(&tableValuesLock);
@@ -1033,6 +1034,7 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
[tableLoadingCondition waitUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.05]];
}
[tableLoadingCondition unlock];
+ tableRowsCount = [tableValues count];
// If the final column autoresize wasn't performed, perform it
if (tableLoadLastRowCount < 200) [[self onMainThread] autosizeColumns];