aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-01-26 23:23:27 +0000
committerrowanbeentje <rowan@beent.je>2010-01-26 23:23:27 +0000
commit9987c0cb9440fea045d56ece1dd8cdd0828c9820 (patch)
tree08b286210701707ced8a35b34dd1746e0cb5b1b4
parentd9e4dabfffa3e8183d3f9992d50c41d3987bfa1c (diff)
downloadsequelpro-9987c0cb9440fea045d56ece1dd8cdd0828c9820.tar.gz
sequelpro-9987c0cb9440fea045d56ece1dd8cdd0828c9820.tar.bz2
sequelpro-9987c0cb9440fea045d56ece1dd8cdd0828c9820.zip
- Ensure the main toolbar items aren't selectable during a task to prevent odd update issues
-rw-r--r--Source/TableDocument.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index d8d16e85..fecea349 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1308,6 +1308,7 @@
[historyControl setEnabled:NO];
databaseListIsSelectable = NO;
[[NSNotificationCenter defaultCenter] postNotificationName:SPDocumentTaskStartNotification object:self];
+ [mainToolbar validateVisibleItems];
// Schedule appearance of the task window in the near future
taskDrawTimer = [[NSTimer scheduledTimerWithTimeInterval:0.5 target:self selector:@selector(showTaskProgressWindow:) userInfo:nil repeats:NO] retain];