diff --git a/MacPass/MPOutlineViewController.m b/MacPass/MPOutlineViewController.m index 09049d31..2c02ef5c 100644 --- a/MacPass/MPOutlineViewController.m +++ b/MacPass/MPOutlineViewController.m @@ -141,7 +141,13 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell"; if( [self _itemIsRootNodeAdapter:item] ) { //NSDictionary *options = @{ NSValueTransformerBindingOption : [NSValueTransformer valueTransformerForName:MPUppsercaseStringValueTransformerName] }; view = [outlineView makeViewWithIdentifier:_MPOutlinveViewHeaderViewIdentifier owner:self]; - [view.textField setStringValue:NSLocalizedString(@"GROUPS", @"")]; + MPRootAdapter *rootNode = [item representedObject]; + if([rootNode.tree respondsToSelector:@selector(databaseName)]) { + [view.textField bind:NSValueBinding toObject:rootNode.tree withKeyPath:@"databaseName" options:nil]; + } + else { + [view.textField setStringValue:NSLocalizedString(@"GROUPS", @"")]; + } } else { KdbGroup *group = [item representedObject]; diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index b917efc2..e5cda421 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -48,7 +48,7 @@ CFBundleSignature ???? CFBundleVersion - 1906 + 1913 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright