aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2011-07-06 18:47:44 +0000
committerdmoagx <post@wickenrode.com>2011-07-06 18:47:44 +0000
commit4b071f5866460dbff1bce10a297f3b017dfea26b (patch)
tree23b84a5303e7a6e53f5326ded76e341d9ece888b /Source/SPExportController.m
parentd86a86be46ecd2912171d1532e24a4a49afe0f5c (diff)
downloadsequelpro-4b071f5866460dbff1bce10a297f3b017dfea26b.tar.gz
sequelpro-4b071f5866460dbff1bce10a297f3b017dfea26b.tar.bz2
sequelpro-4b071f5866460dbff1bce10a297f3b017dfea26b.zip
* Fixes a spacing issue in Duplicate DB Sheet
* Fixes a case were for string == NULL was checked instead of [string length] == 0 (fixes #1103) * Fixes a logic error while copying databases and adds ability to copy InnoDB tables with foreign key checks (fixes #1111)
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index 0ff78c1f..b22d2c32 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -639,7 +639,7 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
// Check whether to save the export filename. Save it if it's not blank and contains at least one
// token - this suggests it's not a one-off filename
- if (![exportCustomFilenameTokenField stringValue]) {
+ if ([[exportCustomFilenameTokenField stringValue] length] < 1) {
[prefs removeObjectForKey:SPExportFilenameFormat];
} else {
BOOL saveFilename = NO;