mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 01:49:20 +00:00
It's getting there again :)
This commit is contained in:
@@ -42,11 +42,11 @@ NSString *const MPDocumentDidExitSearchNotification = @"com.hicknhack.macpass.
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentDidExitSearchNotification object:self];
|
||||
}
|
||||
|
||||
- (void)toggleFlags:(id)sender {
|
||||
- (void)toggleSearchFlags:(id)sender {
|
||||
if(![sender respondsToSelector:@selector(tag)]) {
|
||||
return; // We nee to read the button tag
|
||||
return; // We need to read the button tag
|
||||
}
|
||||
if([sender respondsToSelector:@selector(state)]) {
|
||||
if(![sender respondsToSelector:@selector(state)]) {
|
||||
return; // We need to read the button state
|
||||
}
|
||||
MPEntrySearchFlags toggleFlag = [sender tag];
|
||||
@@ -117,6 +117,10 @@ NSString *const MPDocumentDidExitSearchNotification = @"com.hicknhack.macpass.
|
||||
return [allOptions objectsAtIndexes:indexes];
|
||||
}
|
||||
|
||||
- (void)_updateSearch {
|
||||
self.searchResult = [self entriesInDocument:self matching:self.searchString];
|
||||
}
|
||||
|
||||
- (NSArray *)_filterPredicatesWithString:(NSString *)string{
|
||||
NSMutableArray *prediactes = [[NSMutableArray alloc] initWithCapacity:4];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user