diff --git a/MacPass/InspectorView.xib b/MacPass/InspectorView.xib
index 7e185229..834bf910 100644
--- a/MacPass/InspectorView.xib
+++ b/MacPass/InspectorView.xib
@@ -295,6 +295,7 @@
{{199, 289}, {32, 25}}
+
_NS:22
YES
-
MPSeparator
NSView
diff --git a/MacPass/MPOutlineViewController.m b/MacPass/MPOutlineViewController.m
index 67de12db..9aeff311 100644
--- a/MacPass/MPOutlineViewController.m
+++ b/MacPass/MPOutlineViewController.m
@@ -73,6 +73,7 @@
[self.outlineView setDelegate:self.outlineDelegate];
[self.outlineView setMenu:[self _contextMenu]];
[self.outlineView setAllowsEmptySelection:YES];
+ [self.outlineView setFloatsGroupRows:NO];
NSView *myView = [self view];
self.showConstraints = [NSLayoutConstraint constraintsWithVisualFormat:@"H:[myView(>=100,<=250)]"
diff --git a/MacPass/MPOutlineViewDelegate.m b/MacPass/MPOutlineViewDelegate.m
index 2148a7f1..6b9d7f26 100644
--- a/MacPass/MPOutlineViewDelegate.m
+++ b/MacPass/MPOutlineViewDelegate.m
@@ -28,13 +28,13 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
NSTableCellView *view;
if(![group parent]) {
view = [outlineView makeViewWithIdentifier:_MPOutlinveViewHeaderViewIdentifier owner:self];
- [view.textField setStringValue:[group name]];
+ [view.textField bind:NSValueBinding toObject:group withKeyPath:@"name" options:nil];
}
else {
view = [outlineView makeViewWithIdentifier:_MPOutlineViewDataViewIdentifier owner:self];
NSImage *icon = [MPIconHelper icon:(MPIconType)[group image]];
[view.imageView setImage:icon];
- [view.textField setStringValue:[group name]];
+ [view.textField bind:NSValueBinding toObject:group withKeyPath:@"name" options:nil];
}
diff --git a/MacPass/MPRoundedTextFieldCell.m b/MacPass/MPRoundedTextFieldCell.m
index 89652d76..d0c6027c 100644
--- a/MacPass/MPRoundedTextFieldCell.m
+++ b/MacPass/MPRoundedTextFieldCell.m
@@ -8,12 +8,20 @@
#import "MPRoundedTextFieldCell.h"
-#define CORNER_RADIUS 5.0
+#define CORNER_RADIUS 10.0
@implementation MPRoundedTextFieldCell
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {
- [super drawWithFrame:cellFrame inView:controlView];
+ NSBezierPath *path = [NSBezierPath bezierPathWithRoundedRect:cellFrame xRadius:CORNER_RADIUS yRadius:CORNER_RADIUS];
+ [[NSColor clearColor] set];
+ NSRectFill(cellFrame);
+ [[NSColor blackColor] setStroke];
+ [[NSColor whiteColor] setFill];
+ [path fill];
+ [path stroke];
+
+ //[super drawWithFrame:cellFrame inView:controlView];
}
@end
diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist
index 2f62a734..921e3425 100644
--- a/MacPass/MacPass-Info.plist
+++ b/MacPass/MacPass-Info.plist
@@ -46,7 +46,7 @@
CFBundleSignature
????
CFBundleVersion
- 788
+ 796
LSMinimumSystemVersion
${MACOSX_DEPLOYMENT_TARGET}
NSHumanReadableCopyright