mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-17 23:09:32 +00:00
Fixed #86
This commit is contained in:
@@ -280,8 +280,7 @@ NSString *const _MPTAbleSecurCellView = @"PasswordCell";
|
|||||||
MPDocument *document = [notification object];
|
MPDocument *document = [notification object];
|
||||||
|
|
||||||
if(!document.selectedGroup) {
|
if(!document.selectedGroup) {
|
||||||
[self.entryArrayController unbind:NSContentArrayBinding];
|
/* No group, this only can happen in filtering, just return */
|
||||||
[self.entryArrayController setContent:nil];
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -289,7 +288,7 @@ NSString *const _MPTAbleSecurCellView = @"PasswordCell";
|
|||||||
*/
|
*/
|
||||||
if(document.selectedItem == document.selectedGroup) {
|
if(document.selectedItem == document.selectedGroup) {
|
||||||
/*
|
/*
|
||||||
If we reselct the group, or just another group
|
If we reselect the group, or just another group
|
||||||
we clear the filter and bind to the new selected group
|
we clear the filter and bind to the new selected group
|
||||||
*/
|
*/
|
||||||
if([self _showsFilterBar] && ![document.selectedItem isKindOfClass:[KPKEntry class]]) {
|
if([self _showsFilterBar] && ![document.selectedItem isKindOfClass:[KPKEntry class]]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user