aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-07-10 12:44:15 +0000
committerstuconnolly <stuart02@gmail.com>2011-07-10 12:44:15 +0000
commit59527d9acd227a9a924fbd66ed29b85ea8b65a02 (patch)
treedca62602c88706a4d64ba6d1720a744cb269dd9c /Source/SPExportController.m
parent4b071f5866460dbff1bce10a297f3b017dfea26b (diff)
downloadsequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.tar.gz
sequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.tar.bz2
sequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.zip
Add the option to the SQL export view as to whether or not the AUTO_INCREMENT value on a table's structure is included. Defaults to not included. Implements issue #1064.
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index b22d2c32..54be5b91 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -582,6 +582,8 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
*/
- (IBAction)toggleSQLIncludeStructure:(id)sender
{
+ [exportSQLIncludeAutoIncrementValueButton setEnabled:[sender state]];
+
[[exportTableList tableColumnWithIdentifier:SPTableViewStructureColumnID] setHidden:(![sender state])];
[self _toggleExportButtonOnBackgroundThread];