aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExportController.m5
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]];