aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-04-03 12:26:04 +0000
committerstuconnolly <stuart02@gmail.com>2010-04-03 12:26:04 +0000
commit5f1c17989d9b33645cf393396d5a8b28b563ae3d (patch)
treeabce4c51fc6fd1b8b89c74247f3151542467acf1 /Source
parentac722dbc0be5be28d174869b1f3c1097c44f8fdb (diff)
downloadsequelpro-5f1c17989d9b33645cf393396d5a8b28b563ae3d.tar.gz
sequelpro-5f1c17989d9b33645cf393396d5a8b28b563ae3d.tar.bz2
sequelpro-5f1c17989d9b33645cf393396d5a8b28b563ae3d.zip
Default the reseting a table's auto increment value to on when removing all rows from a table.
Diffstat (limited to 'Source')
-rw-r--r--Source/TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index a0948f36..78e47b9a 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -1400,7 +1400,7 @@
// If table has PRIMARY KEY ask for resetting the auto increment after deletion if given
if(![[tableDataInstance statusValueForKey:@"Auto_increment"] isKindOfClass:[NSNull class]]) {
[alert setShowsSuppressionButton:YES];
- [[alert suppressionButton] setState:NSOffState];
+ [[alert suppressionButton] setState:NSOnState];
[[[alert suppressionButton] cell] setControlSize:NSSmallControlSize];
[[[alert suppressionButton] cell] setFont:[NSFont systemFontOfSize:11]];
[[alert suppressionButton] setTitle:NSLocalizedString(@"Reset AUTO_INCREMENT after deletion?", @"reset auto_increment after deletion of all rows message")];