aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-04-22 13:54:50 +0000
committerstuconnolly <stuart02@gmail.com>2010-04-22 13:54:50 +0000
commitd7a60be55db3fa16565c888351af4a2142e7b751 (patch)
tree0845bfbca91a2f1747e70380c8ef609e8df2ebd2 /Source/TablesList.m
parent75b2c3cd2523501e0f03ef3cabbfa7ba2f150184 (diff)
downloadsequelpro-d7a60be55db3fa16565c888351af4a2142e7b751.tar.gz
sequelpro-d7a60be55db3fa16565c888351af4a2142e7b751.tar.bz2
sequelpro-d7a60be55db3fa16565c888351af4a2142e7b751.zip
Ensure that table change selection notifications are posted to the main thread.
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r--Source/TablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index 7bbbbf62..763638e5 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -639,7 +639,7 @@
[spHistoryControllerInstance updateHistoryEntries];
// Notify listeners of the table change now that the state is fully set up
- [[NSNotificationCenter defaultCenter] postNotificationName:SPTableChangedNotification object:tableDocumentInstance];
+ [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:tableDocumentInstance];
return;
}