Commits

Tuukka Norri committed 8779c90

Fixed a bug which caused the views' check boxes in main window to not work

Comments (0)

Files changed (1)

BaseTenAssistant/Source/BXAController.m

 - (BOOL) validateEnabledForAssistantV: (id *) ioValue error: (NSError **) outError
 {
 	BOOL retval = YES;
-	if ([self isView])
+	if ([self isView] && 0 == [[self primaryKeyFields] count])
 	{
 		if (ioValue)
 			*ioValue = [NSNumber numberWithBool: NO];