aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableInfo.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-05 15:41:52 +0000
committerrowanbeentje <rowan@beent.je>2010-06-05 15:41:52 +0000
commit9131b074138b00e354064410b89b5d14a6ee0c40 (patch)
tree4f5407022b0a0561cc1d46e2f912a6b3b2202c42 /Source/SPTableInfo.m
parent3adafb4e0bb38776f71302fd241be3bc677730d7 (diff)
downloadsequelpro-9131b074138b00e354064410b89b5d14a6ee0c40.tar.gz
sequelpro-9131b074138b00e354064410b89b5d14a6ee0c40.tar.bz2
sequelpro-9131b074138b00e354064410b89b5d14a6ee0c40.zip
- Ensure SPTableInfo reloads occur on the main thread, fixing a number of logged exceptions for beyond-bound index accesses
Diffstat (limited to 'Source/SPTableInfo.m')
-rw-r--r--Source/SPTableInfo.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m
index e44e8194..00db406e 100644
--- a/Source/SPTableInfo.m
+++ b/Source/SPTableInfo.m
@@ -67,6 +67,12 @@
[super dealloc];
}
+/**
+ * Notification to indicate the table has changed and that the table info requires
+ * reloading for display. This is called on table changes, and also (with a nil argument)
+ * during certain refresh operations to trigger a data update.
+ * This function is not thread-safe.
+ */
- (void)tableChanged:(NSNotification *)notification
{
NSDictionary *tableStatus;