aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-09-22 10:03:01 +0000
committerstuconnolly <stuart02@gmail.com>2010-09-22 10:03:01 +0000
commit45243302a11f65b282059e03e3827f7b207b0fc7 (patch)
treeebea8c38b3515035965cf9e5cc0a9466f62253a8 /Source/SPExportController.m
parent41fd5f154a34aa8405884856b5fb3fe484e03ef3 (diff)
downloadsequelpro-45243302a11f65b282059e03e3827f7b207b0fc7.tar.gz
sequelpro-45243302a11f65b282059e03e3827f7b207b0fc7.tar.bz2
sequelpro-45243302a11f65b282059e03e3827f7b207b0fc7.zip
Fix an issue where by an export would fail to begin when the check for database changes was not required (functionality introduced in r2670). Fixes issue #835.
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index 78f187d9..1ae22ed9 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -555,7 +555,7 @@
#pragma mark Other
/**
- * Invoked when the user dismissing the export dialog and starts the export process if required.
+ * Invoked when the user dismisses the export dialog. Starts the export process if required.
*/
- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
{
@@ -570,6 +570,10 @@
// Give the export sheet a chance to close
[self performSelector:@selector(_checkForDatabaseChanges) withObject:nil afterDelay:0.5];
}
+ else {
+ // Initialize the export after a short delay to give the alert a chance to close
+ [self performSelector:@selector(initializeExportUsingSelectedOptions) withObject:nil afterDelay:0.5];
+ }
}
}
@@ -578,7 +582,7 @@
// Perform the export ignoring the new tables
if (returnCode == NSOKButton) {
- // Initialize the export after a slight delay to give the alert a chance to close
+ // Initialize the export after a short delay to give the alert a chance to close
[self performSelector:@selector(initializeExportUsingSelectedOptions) withObject:nil afterDelay:0.5];
}
else {