diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDump.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m index 4ae4743f..b4497123 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -169,9 +169,9 @@ [self reloadTables:self]; [sqlCompressionSwitch setState:[prefs boolForKey:SPSQLExportUseCompression]?NSOnState:NSOffState]; if ([prefs boolForKey:SPSQLExportUseCompression]) { - [currentExportPanel setRequiredFileType:@"sql.gz"]; + [currentExportPanel setAllowedFileTypes:[NSArray arrayWithObjects:@"sql.gz", @"gz", nil]]; } else { - [currentExportPanel setRequiredFileType:@"sql"]; + [currentExportPanel setAllowedFileTypes:[NSArray arrayWithObjects:@"sql", nil]]; } file = [NSString stringWithFormat:@"%@_%@.%@", [tableDocumentInstance database], currentDate, [currentExportPanel requiredFileType]]; [currentExportPanel setAccessoryView:exportDumpView]; |