Update status bar inmediately when started a new search

This commit is contained in:
Manuel Cortez 2018-04-13 08:46:59 -05:00
parent 62c786ee60
commit 9575869d8a

View File

@ -236,6 +236,7 @@ class Controller(object):
if text == "":
return
extractor = self.window.extractor.GetValue()
self.change_status(_(u"Searching {0}... ").format(text))
extractors = get_extractors()
for i in extractors:
if extractor == i.name:
@ -243,7 +244,6 @@ class Controller(object):
break
log.debug("Started search for {0} (selected extractor: {1})".format(text, self.extractor.name))
self.window.list.Clear()
self.change_status(_(u"Searching {0}... ").format(text))
self.extractor.search(text)
self.results = self.extractor.results
for i in self.results: