mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Clear search_restriction combobox when 'close VL' button pressed.
This commit is contained in:
parent
7e31bce688
commit
507864f849
@ -589,6 +589,7 @@ class SearchRestrictionMixin(object):
|
||||
self._apply_search_restriction(restriction, r)
|
||||
|
||||
def clear_additional_restriction(self):
|
||||
self.search_restriction.setCurrentIndex(0)
|
||||
self._apply_search_restriction('', '')
|
||||
|
||||
def _apply_search_restriction(self, restriction, name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user