Fixed #39 Overall search behavior ironed out.

Fixed #71 Added A simple entropy calculation for purely random generated passwords
Added separate Views for Group and Entry Inspector
Added "no Selection" view for Inpsector
This commit is contained in:
michael starke
2013-07-28 13:31:37 +02:00
parent e050840b6f
commit 07dae46b4c
38 changed files with 9013 additions and 5934 deletions

View File

@@ -9,12 +9,26 @@
#import "MPOutlineView.h"
#import "MPNotifications.h"
@interface MPOutlineView () {
BOOL _didBecomeFirstResponder;
}
@end
@implementation MPOutlineView
- (void)mouseDown:(NSEvent *)theEvent {
[super mouseDown:theEvent];
if(_didBecomeFirstResponder) {
[[NSNotificationCenter defaultCenter] postNotificationName:MPDidActivateViewNotification
object:self
userInfo:nil];
}
_didBecomeFirstResponder = NO;
}
- (BOOL)becomeFirstResponder {
[[NSNotificationCenter defaultCenter] postNotificationName:MPDidBecomeFirstResonderNotification
object:self
userInfo:nil];
_didBecomeFirstResponder = YES;
return YES;
}