From 0a7fcc415ca783d214af6fbd518af6e6300ca985 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Mon, 4 Nov 2019 16:11:44 +0100 Subject: [PATCH] Disabled currently unused context button for add fields button (fixes #995) --- MacPass/MPEntryInspectorViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MacPass/MPEntryInspectorViewController.m b/MacPass/MPEntryInspectorViewController.m index ec49f3b2..35c2d43e 100644 --- a/MacPass/MPEntryInspectorViewController.m +++ b/MacPass/MPEntryInspectorViewController.m @@ -557,6 +557,7 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { NSMenu *customFieldMenu = [[NSMenu alloc] initWithTitle:NSLocalizedString(@"ADD_CUSTOM_FIELD_CONTEXT_MENU", @"Menu displayed for adding special custom keys")]; customFieldMenu.delegate = _addCustomFieldContextMenuDelegate; self.addCustomFieldButton.contextMenu = customFieldMenu; + [self.addCustomFieldButton setEnabled:NO forSegment:MPContextButtonSegmentContextButton]; } #pragma mark -