From 4910be2e50a844e94f637f8e8ee5df5dd5a659ff Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 30 Oct 2014 20:22:32 +0100 Subject: [PATCH] the default column now works again in the autotype fix window --- MacPass/MPFixAutotypeWindowController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MacPass/MPFixAutotypeWindowController.m b/MacPass/MPFixAutotypeWindowController.m index 499f7ac0..a95904c9 100644 --- a/MacPass/MPFixAutotypeWindowController.m +++ b/MacPass/MPFixAutotypeWindowController.m @@ -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;