diff --git a/MacPass/Base.lproj/IntegrationPreferences.xib b/MacPass/Base.lproj/IntegrationPreferences.xib index c952c627..2a6ef75e 100644 --- a/MacPass/Base.lproj/IntegrationPreferences.xib +++ b/MacPass/Base.lproj/IntegrationPreferences.xib @@ -1,13 +1,14 @@ - + - + + @@ -26,19 +27,19 @@ - + - + - + - - + + - + Autotype might not work properly. Some issues where found that prevent Autotype or Global Autotype to work. Please run the Autotype Doctor to fix those issues. @@ -46,8 +47,8 @@ - - - + @@ -105,43 +106,59 @@ - + + + + + If enabled, a dialog will show up before Autotype is executed even if only a single match was found to prevent accidental input and wrong matches + + + + + - - - - - + @@ -160,6 +177,8 @@ + + @@ -172,6 +191,8 @@ + + @@ -184,9 +205,9 @@ - + - + - + @@ -228,7 +249,7 @@ - + diff --git a/MacPass/MPIntegrationPreferencesController.h b/MacPass/MPIntegrationPreferencesController.h index 2deb2b5a..384470af 100644 --- a/MacPass/MPIntegrationPreferencesController.h +++ b/MacPass/MPIntegrationPreferencesController.h @@ -40,7 +40,7 @@ @property (strong) IBOutlet NSButton *matchTagsCheckBox; @property (strong) IBOutlet NSButton *sendCommandForControlCheckBox; - +@property (strong) IBOutlet NSButton *alwaysShowConfirmationBeforeAutotypeCheckBox; /* Preview */ @property (strong) IBOutlet NSButton *enableQuicklookCheckBox; diff --git a/MacPass/MPIntegrationPreferencesController.m b/MacPass/MPIntegrationPreferencesController.m index c4ccdfbc..8f6bb026 100644 --- a/MacPass/MPIntegrationPreferencesController.m +++ b/MacPass/MPIntegrationPreferencesController.m @@ -67,8 +67,16 @@ [self.matchHostCheckBox bind:NSValueBinding toObject:defaultsController withKeyPath:[MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeyAutotypeMatchHost] options:nil]; [self.matchTagsCheckBox bind:NSValueBinding toObject:defaultsController withKeyPath:[MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeyAutotypeMatchTags] options:nil]; - [self.sendCommandForControlCheckBox bind:NSValueBinding toObject:defaultsController withKeyPath:[MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeySendCommandForControlKey] options:nil]; - + [self.sendCommandForControlCheckBox bind:NSValueBinding + toObject:defaultsController + withKeyPath:[MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeySendCommandForControlKey] + options:nil]; + + [self.alwaysShowConfirmationBeforeAutotypeCheckBox bind:NSValueBinding + toObject:defaultsController + withKeyPath:[MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeyGloablAutotypeAlwaysShowCandidateSelection] + options:nil]; + [self _showKeyCodeMissingKeyWarning:NO]; [self _updateAccessabilityWarning]; }