diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m index dfce1760..964d05db 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m @@ -480,7 +480,8 @@ [[NSOperationQueue mainQueue] addOperationWithBlock:^{ [self setContent:content]; [self.progressView stopAnimation:nil]; - [self.typeField selectItemWithObjectValue:typeName]; + if (![[self.typeField stringValue] isEqualToString:typeName]) + [self.typeField selectItemWithObjectValue:typeName]; self.tipField.alphaValue = 1; if (actionHandled) diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib index 9a4ee5d4..2a455f7a 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib @@ -3,12 +3,12 @@ 1080 12D78 - 4457.6 + 3084 1187.37 626.00 com.apple.InterfaceBuilder.CocoaPlugin - 4457.6 + 3084 IBNSLayoutConstraint @@ -68,7 +68,7 @@ _NS:9 YES - 342884416 + 72351808 272630784 @@ -238,6 +238,7 @@ {{17, 20}, {446, 17}} + 1 1 @@ -522,10 +523,9 @@ 1000 - 0 + 8 29 3 - NO @@ -539,10 +539,9 @@ 1000 - 0 + 8 29 3 - NO @@ -556,10 +555,9 @@ 1000 - 0 + 8 29 3 - NO @@ -573,10 +571,9 @@ 1000 - 0 + 8 29 3 - NO @@ -601,7 +598,6 @@ 6 24 2 - NO @@ -618,7 +614,6 @@ 6 24 3 - NO @@ -635,7 +630,6 @@ 6 24 2 - NO @@ -652,7 +646,6 @@ 5 22 2 - NO @@ -669,7 +662,6 @@ 6 24 2 - NO @@ -683,10 +675,9 @@ 1000 - 0 + 8 29 3 - NO @@ -700,10 +691,9 @@ 1000 - 0 + 8 29 3 - NO @@ -717,10 +707,9 @@ 1000 - 0 + 8 29 3 - NO @@ -734,10 +723,9 @@ 1000 - 0 + 8 29 3 - NO @@ -754,7 +742,6 @@ 3 9 3 - NO @@ -771,7 +758,6 @@ 6 24 3 - NO @@ -788,7 +774,6 @@ 6 24 3 - NO @@ -802,10 +787,9 @@ 1000 - 0 + 8 29 3 - NO @@ -819,10 +803,9 @@ 1000 - 0 + 8 29 3 - NO @@ -873,7 +856,6 @@ 3 9 1 - NO @@ -903,7 +885,6 @@ 3 9 1 - NO @@ -1019,7 +1000,6 @@ 3 9 1 - NO @@ -1240,10 +1220,6 @@ 0 IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 diff --git a/MasterPassword/ObjC/Mac/MasterPassword-Mac.xcodeproj/project.pbxproj b/MasterPassword/ObjC/Mac/MasterPassword-Mac.xcodeproj/project.pbxproj index 1f85a25d..ce2a3000 100644 --- a/MasterPassword/ObjC/Mac/MasterPassword-Mac.xcodeproj/project.pbxproj +++ b/MasterPassword/ObjC/Mac/MasterPassword-Mac.xcodeproj/project.pbxproj @@ -1476,6 +1476,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; @@ -1555,6 +1556,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; @@ -1665,6 +1667,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;