Clear search_restriction combobox when 'close VL' button pressed.

This commit is contained in:
Jim Miller 2016-07-17 13:27:11 -05:00 committed by Kovid Goyal
parent 7e31bce688
commit 507864f849

View File

@ -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):