Make the toggle search highlighting re-run the last search.

This commit is contained in:
Charles Haley 2011-04-17 10:40:49 +01:00
parent b4d098bc25
commit 1af2d39540

View File

@ -374,6 +374,8 @@ class SearchBoxMixin(object): # {{{
def highlight_only_clicked(self, state):
config['highlight_search_matches'] = not config['highlight_search_matches']
self.set_highlight_only_button_icon()
self.search.do_search()
self.focus_to_library()
def set_highlight_only_button_icon(self):
if config['highlight_search_matches']: