aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-08-26 01:22:52 +0000
committerrowanbeentje <rowan@beent.je>2010-08-26 01:22:52 +0000
commit91c2f021d4a8e323872cc733becbdfc19870ceb7 (patch)
treefb858ab649014c78aaca1512029b20713e8a450e /Source/SPExportInitializer.m
parentdc9d005f21b3e281294f61d4d8e49d0ad003e8fb (diff)
downloadsequelpro-91c2f021d4a8e323872cc733becbdfc19870ceb7.tar.gz
sequelpro-91c2f021d4a8e323872cc733becbdfc19870ceb7.tar.bz2
sequelpro-91c2f021d4a8e323872cc733becbdfc19870ceb7.zip
Exporter:
- Enable alternating table lines in the export table view - this addresses Issue #797 - Reconnect GZIp & BZIP2 compression functionality (TODO: not currently working for file overwrites; to be discussed)
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index a34f729b..4812dd82 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -397,8 +397,11 @@
// Create the actual file handles while dealing with errors (e.g. file already exists, etc) during creation
for (SPExportFile *exportFile in exportFiles)
- {
+ {
if ([exportFile createExportFileHandle:NO] == SPExportFileHandleCreated) {
+
+ // TODO: these will not currently get triggered if there's an error in creating the files - eg when the user later chooses "overwrite".
+ [exportFile setCompressionFormat:[exportOutputCompressionFormatPopupButton indexOfSelectedItem]];
if ([exportFile exportFileNeedsCSVHeader]) {
[self writeCSVHeaderToExportFile:exportFile];
}