Disabled currently unused context button for add fields button (fixes #995)

This commit is contained in:
Michael Starke
2019-11-04 16:11:44 +01:00
parent ff72632b3b
commit 0a7fcc415c

View File

@@ -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 -