diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-08 16:39:25 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-08 16:39:25 +0000 |
commit | 59d2d86e16cee78e0f46d11f6d6c05dea103a8f5 (patch) | |
tree | bf7c044114b7483731257b672f1531a103a04539 /Source | |
parent | a7df2a8ceae2490299b271e949fa8f2308e196bd (diff) | |
download | sequelpro-59d2d86e16cee78e0f46d11f6d6c05dea103a8f5.tar.gz sequelpro-59d2d86e16cee78e0f46d11f6d6c05dea103a8f5.tar.bz2 sequelpro-59d2d86e16cee78e0f46d11f6d6c05dea103a8f5.zip |
When cancelling a table sort operation remember to end the threaded task to ensure the bezel and spinner are removed from view. Fixes issue #570.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableContent.m | 1 |
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; } |