mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 04:29:23 +00:00
Search structurally works again. Filtering is not polished.
This commit is contained in:
@@ -99,7 +99,7 @@ typedef NS_ENUM(NSUInteger, MPContextTab) {
|
||||
- (void)_didChangeCurrentItem:(NSNotification *)notification {
|
||||
MPDocument *document = [notification object];
|
||||
BOOL showTrash = document.useTrash && (document.selectedGroup == document.trash || [document isItemTrashed:document.selectedItem]);
|
||||
if(showTrash) {
|
||||
if(showTrash && ! document.hasSearch) {
|
||||
self.activeTab = MPContextTabTrash;
|
||||
[self _updateBindings];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user