diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 6e0cac4c..724afca6 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1080,10 +1080,14 @@ } } else if ([contextInfo isEqualToString:@"copyDatabase"]) { - [self _copyDatabase]; + if (returnCode == NSOKButton) { + [self _copyDatabase]; + } } else if ([contextInfo isEqualToString:@"renameDatabase"]) { - [self _renameDatabase]; + if (returnCode == NSOKButton) { + [self _renameDatabase]; + } } // Close error status sheet for OPTIMIZE, CHECK, REPAIR etc. else if ([contextInfo isEqualToString:@"statusError"]) { |