the default column now works again in the autotype fix window

This commit is contained in:
michael starke
2014-10-30 20:22:32 +01:00
parent 0315254e3e
commit 4910be2e50

View File

@@ -150,8 +150,9 @@ NSString *const kMPIconCell = @"IconCell";
}
else {
BOOL isMalformed = [MPDocument isCandidateForMalformedAutotype:item];
BOOL isDefault = [entry.autotype hasDefaultKeystrokeSequence] || [group hasDefaultAutotypeSequence] || [association hasDefaultKeystrokeSequence];
if([[tableColumn identifier] isEqualToString:kMPIsDefaultCell]) {
return isMalformed ? @"Yes" : @"No";
return isDefault ? @"Yes" : @"No";
}
else if( [[tableColumn identifier] isEqualToString:kMPIconCell]) {
return isMalformed ? [MPIconHelper icon:MPIconWarning] : nil;