mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 14:02:28 +00:00
Fixed missing delete button on custom fields
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
Kdb4Entry *entry = (Kdb4Entry *)self.viewController.selectedEntry;
|
Kdb4Entry *entry = (Kdb4Entry *)self.viewController.selectedEntry;
|
||||||
MPCustomFieldTableCellView *view = [tableView makeViewWithIdentifier:@"NormalCell" owner:tableView];
|
MPCustomFieldTableCellView *view = [tableView makeViewWithIdentifier:@"SelectedCell" owner:tableView];
|
||||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_customFieldFrameChanged:) name:NSViewFrameDidChangeNotification object:view];
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_customFieldFrameChanged:) name:NSViewFrameDidChangeNotification object:view];
|
||||||
if([self.viewController.selectedEntry isKindOfClass:[Kdb4Entry class]]) {
|
if([self.viewController.selectedEntry isKindOfClass:[Kdb4Entry class]]) {
|
||||||
StringField *stringField = entry.stringFields[row];
|
StringField *stringField = entry.stringFields[row];
|
||||||
|
|||||||
Reference in New Issue
Block a user