From 43d06772504e80759ede32f89a15a492e2b38939 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Thu, 6 Sep 2018 09:12:40 +0200 Subject: [PATCH] disabled automatic row height. The custom attributes tabel view did not render if it was non-visible. Only a resize on the view triggered a display. --- MacPass/MPEntryInspectorViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MacPass/MPEntryInspectorViewController.m b/MacPass/MPEntryInspectorViewController.m index 150b65ca..fbecc49d 100644 --- a/MacPass/MPEntryInspectorViewController.m +++ b/MacPass/MPEntryInspectorViewController.m @@ -138,7 +138,7 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { NSView *customFieldTableView = self.customFieldsTableView; [self.customFieldsTableView.enclosingScrollView removeFromSuperviewWithoutNeedingDisplay]; if (@available(macOS 10.13, *)) { - self.customFieldsTableView.usesAutomaticRowHeights = YES; + //self.customFieldsTableView.usesAutomaticRowHeights = YES; } else { // Fallback on earlier versions } @@ -158,7 +158,6 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { - self.customFieldsTableView.backgroundColor = NSColor.clearColor; [self.customFieldsTableView bind:NSContentBinding toObject:_customFieldsController withKeyPath:NSStringFromSelector(@selector(arrangedObjects)) options:nil]; self.customFieldsTableView.delegate = _customFieldTableDelegate; @@ -644,6 +643,7 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { - (void)_didChangeCurrentItem:(NSNotification *)notificiation { self.showPassword = NO; + //self.customFieldsTableView.needsDisplay = YES; } @end