aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 9dd7f983..bc040223 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -2853,6 +2853,7 @@
if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) {
SPBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil,
[NSString stringWithFormat:NSLocalizedString(@"Couldn't sort table. MySQL said: %@", @"message of panel when sorting of table failed"), [mySQLConnection getLastErrorMessage]]);
+ [tableDocumentInstance endTask];
[sortPool drain];
return;
}