diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-30 00:16:06 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-30 00:16:06 +0000 |
commit | cc2e00c656a34d4c472a25f929282c8fc63d0174 (patch) | |
tree | 34d4f213f4efc4ddd73625e5941d002b6e3bd92f /Source/SPCopyTable.m | |
parent | c1cb48f6afa93b8ed26baa434d66d1ca3e0afca7 (diff) | |
download | sequelpro-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/SPCopyTable.m')
-rw-r--r-- | Source/SPCopyTable.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index f06c4700..94e0eb45 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -960,7 +960,7 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003; } } } - } 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, [self window], self, nil, nil, [NSString stringWithFormat:@"%@ “%@”:\n%@", NSLocalizedString(@"Error for", @"error for message"), [cmdData objectForKey:@"name"], errorMessage]); |