aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPrintController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPPrintController.m')
-rw-r--r--Source/SPPrintController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPPrintController.m b/Source/SPPrintController.m
index 8100e218..5c4ad477 100644
--- a/Source/SPPrintController.m
+++ b/Source/SPPrintController.m
@@ -166,6 +166,7 @@
if ([NSThread isMainThread]) {
printThread = [[NSThread alloc] initWithTarget:self selector:(isTableInformation) ? @selector(generateTableInfoHTMLForPrinting) : @selector(generateHTMLForPrinting) object:nil];
+ [printThread setName:@"SPPrintController document generator"];
[self enableTaskCancellationWithTitle:NSLocalizedString(@"Cancel", @"cancel button") callbackObject:self callbackFunction:@selector(generateHTMLForPrintingCallback)];