aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-11-22 15:00:00 +0000
committerrowanbeentje <rowan@beent.je>2009-11-22 15:00:00 +0000
commit68168615e8c35c2d5c6e08284dc1478376883d8d (patch)
tree25b99f9802ee3590e7f300329a3e1061e5bf45d5 /Source/TableContent.m
parentde9ddc82c305f187d6ab8802641eba9f2c90f0c1 (diff)
downloadsequelpro-68168615e8c35c2d5c6e08284dc1478376883d8d.tar.gz
sequelpro-68168615e8c35c2d5c6e08284dc1478376883d8d.tar.bz2
sequelpro-68168615e8c35c2d5c6e08284dc1478376883d8d.zip
- Improve upon r1560 by removing a couple of race conditions triggered on encoding changes, status requests, or blob/text lookups on slower connections
- Restore first responder in TableContent loads on the main thread to fix a potential crasher
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index bcaed509..9d5268c8 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -410,7 +410,7 @@
}
// Restore first responder
- [tableWindow makeFirstResponder:currentFirstResponder];
+ [tableWindow performSelectorOnMainThread:@selector(makeFirstResponder:) withObject:currentFirstResponder waitUntilDone:NO];
// Enable or disable the limit fields according to preference setting
if ( [prefs boolForKey:SPLimitResults] ) {