aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPHistoryController.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-04-22 22:30:57 +0200
committerMax <post@wickenrode.com>2015-04-22 22:30:57 +0200
commit75738e17389d9d66713fdde60cfd59774c934557 (patch)
tree77a7e78bd46ffc737d92939d20359761e26c5ea4 /Source/SPHistoryController.m
parent55951d00cde44cfc654a2a6cb97e941eca2eb70f (diff)
downloadsequelpro-75738e17389d9d66713fdde60cfd59774c934557.tar.gz
sequelpro-75738e17389d9d66713fdde60cfd59774c934557.tar.bz2
sequelpro-75738e17389d9d66713fdde60cfd59774c934557.zip
Fixed two case of background thread interacting with UI
aka "deleted uncommited CA transaction"
Diffstat (limited to 'Source/SPHistoryController.m')
-rw-r--r--Source/SPHistoryController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m
index aa504bc2..87cc4eab 100644
--- a/Source/SPHistoryController.m
+++ b/Source/SPHistoryController.m
@@ -276,7 +276,7 @@
NSUInteger contentPageNumber = [tableContentInstance pageNumber];
NSDictionary *contentSelectedRows = [tableContentInstance selectionDetailsAllowingIndexSelection:YES];
NSRect contentViewport = [tableContentInstance viewport];
- NSDictionary *contentFilter = [tableContentInstance filterSettings];
+ NSDictionary *contentFilter = [[tableContentInstance onMainThread] filterSettings];
NSData *filterTableData = [tableContentInstance filterTableData];
if (!theDatabase) return;