mirror of
https://github.com/MacPass/MacPass.git
synced 2026-02-01 04:18:26 +00:00
Fixed issue re-selection selected groups when exiting search.
This fix is rather ugly but works for now. It should get re-evaluated when the whole selection and search model is being refactored
This commit is contained in:
@@ -49,6 +49,9 @@ NSString *const kMPDocumentSearchResultsKey = @"kMPDocumentSearchResul
|
|||||||
*/
|
*/
|
||||||
[NSNotificationCenter.defaultCenter postNotificationName:MPDocumentDidEnterSearchNotification object:self];
|
[NSNotificationCenter.defaultCenter postNotificationName:MPDocumentDidEnterSearchNotification object:self];
|
||||||
[self updateSearch:self];
|
[self updateSearch:self];
|
||||||
|
/* clear selection */
|
||||||
|
self.selectedGroups = nil;
|
||||||
|
self.selectedEntries = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark Actions
|
#pragma mark Actions
|
||||||
|
|||||||
Reference in New Issue
Block a user