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:
Michael Starke
2021-10-29 14:41:27 +02:00
parent 1ee3bc13be
commit f1bf8ab9f6
2 changed files with 5 additions and 2 deletions

View File

@@ -49,6 +49,9 @@ NSString *const kMPDocumentSearchResultsKey = @"kMPDocumentSearchResul
*/
[NSNotificationCenter.defaultCenter postNotificationName:MPDocumentDidEnterSearchNotification object:self];
[self updateSearch:self];
/* clear selection */
self.selectedGroups = nil;
self.selectedEntries = nil;
}
#pragma mark Actions