diff --git a/HNHUi b/HNHUi
index 19bc2cf5..be934dba 160000
--- a/HNHUi
+++ b/HNHUi
@@ -1 +1 @@
-Subproject commit 19bc2cf50e6df916b417f0fa1c35d2748cdaad5d
+Subproject commit be934dba176c2b829e7254c2d0e7300852a6ac5c
diff --git a/MacPass/MPOutlineViewDelegate.m b/MacPass/MPOutlineViewDelegate.m
index ba8644bb..81362c6c 100644
--- a/MacPass/MPOutlineViewDelegate.m
+++ b/MacPass/MPOutlineViewDelegate.m
@@ -9,6 +9,7 @@
#import "MPOutlineViewDelegate.h"
#import "MPIconHelper.h"
#import "MPUppercaseStringValueTransformer.h"
+#import "HNHBadgedTextFieldCell.h"
#import "KdbLib.h"
NSString *const MPOutlineViewDidChangeGroupSelection = @"com.macpass.MPOutlineViewDidChangeGroupSelection";
@@ -39,7 +40,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
NSImage *icon = [MPIconHelper icon:(MPIconType)[group image]];
[view.imageView setImage:icon];
[view.textField bind:NSValueBinding toObject:group withKeyPath:@"name" options:nil];
-
+ [view.textField bind:@"count" toObject:group withKeyPath:@"entries.@count" options:nil];
}
return view;
@@ -72,8 +73,9 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
}
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldShowOutlineCellForItem:(id)item {
- KdbGroup *group = [item representedObject];
- return (nil != group.parent);
+ return YES;
+// KdbGroup *group = [item representedObject];
+// return (nil != group.parent);
}
@end
diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist
index db46af8a..1607d9ab 100644
--- a/MacPass/MacPass-Info.plist
+++ b/MacPass/MacPass-Info.plist
@@ -48,7 +48,7 @@
CFBundleSignature
????
CFBundleVersion
- 905
+ 94F
LSMinimumSystemVersion
${MACOSX_DEPLOYMENT_TARGET}
NSHumanReadableCopyright
diff --git a/MacPass/OutlineView.xib b/MacPass/OutlineView.xib
index 92327155..338357dd 100644
--- a/MacPass/OutlineView.xib
+++ b/MacPass/OutlineView.xib
@@ -42,7 +42,7 @@
NSApplication
- {191, 299}
-
-
+ {177, 299}
_NS:9
NSView
@@ -259,7 +252,7 @@
266
- {{0, 1}, {188, 14}}
+ {{0, 1}, {174, 14}}
_NS:101
@@ -289,7 +282,7 @@
NO
- {{1, 0}, {188, 17}}
+ {{1, 0}, {174, 17}}
HeaderCell
@@ -339,7 +332,7 @@
266
- {{25, 0}, {163, 17}}
+ {{25, 0}, {149, 17}}
_NS:80
@@ -357,7 +350,7 @@
NO
- {{1, 17}, {188, 17}}
+ {{1, 17}, {174, 17}}
DataCell
@@ -606,6 +599,22 @@
29
3
+
+
+ 4
+ 0
+
+ 4
+ 1
+
+ 0.0
+
+ 1000
+
+ 6
+ 24
+ 2
+
5
@@ -622,20 +631,20 @@
24
3
-
-
- 4
+
+
+ 10
0
-
- 4
+
+ 10
1
0.0
1000
- 6
- 24
+ 5
+ 22
2
@@ -670,22 +679,6 @@
24
2
-
-
- 10
- 0
-
- 10
- 1
-
- 0.0
-
- 1000
-
- 5
- 22
- 2
-
@@ -746,21 +739,6 @@
-
- 255
-
-
-
-
- 256
-
-
-
-
- 257
-
-
-
258
@@ -776,11 +754,6 @@
-
- 261
-
-
-
263
@@ -801,6 +774,26 @@
+
+ 349
+
+
+
+
+ 385
+
+
+
+
+ 388
+
+
+
+
+ 389
+
+
+
@@ -838,11 +831,11 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
-
-
+
+
com.apple.InterfaceBuilder.CocoaPlugin
@@ -853,32 +846,42 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+ HNHBadgedTextField
com.apple.InterfaceBuilder.CocoaPlugin
+ HNHBadgedTextFieldCell
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
- 273
+ 389
+
+ HNHBadgedTextFieldCell
+ NSTextFieldCell
+
+ IBProjectSource
+ ./Classes/HNHBadgedTextFieldCell.h
+
+
MPOutlineViewController
MPViewController