From 8ec90a3e7efa8d4399a377752e66783776de4865 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 17 Aug 2011 19:21:55 +0000 Subject: During an SQL export, if the structure is disabled also uncheck the include DROP sytax option. --- Source/SPExportController.m | 5 +++++ 1 file changed, 5 insertions(+) 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]]; -- cgit v1.2.3