aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-13 21:09:48 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-13 21:09:48 +0000
commitf879a31da7d07cb8b5bed7a63c6e49ce79a66d48 (patch)
tree5f042fdeece3ad8044d60e7acf6f571e8458c3b8 /Source/TableDocument.m
parentaff548a80a7d8eacdb836eea70b3e9af14658fdb (diff)
downloadsequelpro-f879a31da7d07cb8b5bed7a63c6e49ce79a66d48.tar.gz
sequelpro-f879a31da7d07cb8b5bed7a63c6e49ce79a66d48.tar.bz2
sequelpro-f879a31da7d07cb8b5bed7a63c6e49ce79a66d48.zip
Perform HTML generation for printing on a background thread, displaying the usual progress indicator with the ability to cancel it. Still need to add warnings when attempting to print a table content with a large number of rows or a lot of data.
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 792e54bc..87131aee 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -103,8 +103,8 @@
taskCancellationCallbackSelector = NULL;
keyChainID = nil;
-
statusValues = nil;
+ printThread = nil;
}
return self;
@@ -1190,7 +1190,7 @@
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];
}