From b2e43c410124297c38741b272081ab2b388be2ed Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Wed, 19 Oct 2022 20:46:23 +0100 Subject: [PATCH] Bug #1993574: virtual libraries don't work --- src/calibre/gui2/search_restriction_mixin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/gui2/search_restriction_mixin.py b/src/calibre/gui2/search_restriction_mixin.py index 6d4a9d29ed..6cf33e8f10 100644 --- a/src/calibre/gui2/search_restriction_mixin.py +++ b/src/calibre/gui2/search_restriction_mixin.py @@ -641,7 +641,6 @@ class SearchRestrictionMixin: self._apply_search_restriction('', '') def _apply_search_restriction(self, restriction, name): - self.saved_search.clear() # The order below is important. Set the restriction, force a '' search # to apply it, reset the tag browser to take it into account, then set # the book count.