aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-20 01:16:35 +0000
committerrowanbeentje <rowan@beent.je>2010-03-20 01:16:35 +0000
commit46bab7d9ba5a53bc4718b9812b98f051d8735839 (patch)
tree2ebb8cf764dc82e014b4c49113d8a5c5f6168615 /Source
parentd8b3558dc3825e95f3edf529f75b24b18b74e4ba (diff)
downloadsequelpro-46bab7d9ba5a53bc4718b9812b98f051d8735839.tar.gz
sequelpro-46bab7d9ba5a53bc4718b9812b98f051d8735839.tar.bz2
sequelpro-46bab7d9ba5a53bc4718b9812b98f051d8735839.zip
- Alter historyItemsHaveBeenUpdated: call on startup to be performed on main thread without a delay to fix http://log.sequelpro.com/view/33
Diffstat (limited to 'Source')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index d0553f27..57d47b7b 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1294,7 +1294,7 @@
[autouppercaseKeywordsMenuItem setState:([prefs boolForKey:SPCustomQueryAutoUppercaseKeywords]?NSOnState:NSOffState)];
if ( [[SPQueryController sharedQueryController] historyForFileURL:[tableDocumentInstance fileURL]] )
- [self performSelector:@selector(historyItemsHaveBeenUpdated:) withObject:self afterDelay:0.0];
+ [self performSelectorOnMainThread:@selector(historyItemsHaveBeenUpdated:) withObject:self waitUntilDone:YES];
// Populate query favorites
[self queryFavoritesHaveBeenUpdated:nil];