From 5f1c17989d9b33645cf393396d5a8b28b563ae3d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 3 Apr 2010 12:26:04 +0000 Subject: Default the reseting a table's auto increment value to on when removing all rows from a table. --- Source/TableContent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/TableContent.m') 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")]; -- cgit v1.2.3