aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-30 00:16:06 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-30 00:16:06 +0000
commitcc2e00c656a34d4c472a25f929282c8fc63d0174 (patch)
tree34d4f213f4efc4ddd73625e5941d002b6e3bd92f /Source/SPAppController.m
parentc1cb48f6afa93b8ed26baa434d66d1ca3e0afca7 (diff)
downloadsequelpro-cc2e00c656a34d4c472a25f929282c8fc63d0174.tar.gz
sequelpro-cc2e00c656a34d4c472a25f929282c8fc63d0174.tar.bz2
sequelpro-cc2e00c656a34d4c472a25f929282c8fc63d0174.zip
• Bundle commands
- before closing a db doc window kill all commands associated to this doc - suppress an error message if a bash command was killed via code 9 - added a temporary and preliminary table view to display command activities (double-click at TABLE INFO header to toggle and refresh it - only for testing purposes - it shows all commands started from that db doc and a General command names)
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 12b9e9a4..ad456b89 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -818,7 +818,7 @@
}
}
}
- } else {
+ } else if([err code] != 9) { // Suppress an error message if command was killed
NSString *errorMessage = [err localizedDescription];
SPBeginAlertSheet(NSLocalizedString(@"BASH Error", @"bash error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [NSApp mainWindow], self, nil, nil,
[NSString stringWithFormat:@"%@ “%@”:\n%@", NSLocalizedString(@"Error for", @"error for message"), [cmdData objectForKey:@"name"], errorMessage]);