trying to fix index cells displaying string values

This commit is contained in:
michael starke
2017-04-13 19:24:46 +02:00
parent aec3fbea51
commit a07856b65b

View File

@@ -252,6 +252,8 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
NSTableCellView *view = nil; NSTableCellView *view = nil;
if(isTitleColumn || isGroupColumn) { if(isTitleColumn || isGroupColumn) {
view = [tableView makeViewWithIdentifier:_MPTableImageCellView owner:self]; view = [tableView makeViewWithIdentifier:_MPTableImageCellView owner:self];
[view.textField unbind:NSValueBinding];
[view.imageView unbind:NSValueBinding];
if( isTitleColumn ) { if( isTitleColumn ) {
NSString *titleKeyPath = [NSString stringWithFormat:@"%@.%@", NSString *titleKeyPath = [NSString stringWithFormat:@"%@.%@",
NSStringFromSelector(@selector(objectValue)), NSStringFromSelector(@selector(objectValue)),