mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 14:49:22 +00:00
Fixed more issues with sheets being displayed when database is locked
This commit is contained in:
@@ -661,7 +661,6 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
|
||||
- (KPKAttribute *)createCustomAttribute:(KPKEntry *)entry {
|
||||
NSString *title = NSLocalizedString(@"DEFAULT_CUSTOM_FIELD_TITLE", @"Default Titel for new Custom-Fields");
|
||||
NSString *value = NSLocalizedString(@"DEFAULT_CUSTOM_FIELD_VALUE", @"Default Value for new Custom-Fields");
|
||||
title = [entry proposedKeyForAttributeKey:title];
|
||||
KPKAttribute *newAttribute = [[KPKAttribute alloc] initWithKey:title value:value];
|
||||
[entry addCustomAttribute:newAttribute];
|
||||
return newAttribute;
|
||||
|
||||
Reference in New Issue
Block a user