diff options
author | stuconnolly <stuart02@gmail.com> | 2011-08-17 19:21:55 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-08-17 19:21:55 +0000 |
commit | 8ec90a3e7efa8d4399a377752e66783776de4865 (patch) | |
tree | 1251b7b20b9f763c47fa6d6bd23b77e31b9f34bb | |
parent | 22f2e47959158cf33704481353a65b6d3b242b88 (diff) | |
download | sequelpro-8ec90a3e7efa8d4399a377752e66783776de4865.tar.gz sequelpro-8ec90a3e7efa8d4399a377752e66783776de4865.tar.bz2 sequelpro-8ec90a3e7efa8d4399a377752e66783776de4865.zip |
During an SQL export, if the structure is disabled also uncheck the include DROP sytax option.
-rw-r--r-- | Source/SPExportController.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index 3e20fb17..df95d204 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -582,6 +582,11 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled"; */ - (IBAction)toggleSQLIncludeStructure:(id)sender { + if (![sender state]) + { + [exportSQLIncludeDropSyntaxCheck setState:NSOffState]; + } + [exportSQLIncludeDropSyntaxCheck setEnabled:[sender state]]; [exportSQLIncludeAutoIncrementValueButton setEnabled:[sender state]]; |