mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 10:35:20 -04:00
Fix for the problem where setting the restriction to an empty current search clears the restriction box but does not clear the restriction.
This commit is contained in:
@@ -37,6 +37,7 @@ class SearchRestrictionMixin(object):
|
||||
search = unicode(search)
|
||||
if not search:
|
||||
self.search_restriction.setCurrentIndex(0)
|
||||
self._apply_search_restriction('')
|
||||
else:
|
||||
s = '*' + search
|
||||
if self.search_restriction.count() > 1:
|
||||
|
||||
Reference in New Issue
Block a user