Update status bar inmediately when started a new search
This commit is contained in:
parent
62c786ee60
commit
9575869d8a
@ -236,6 +236,7 @@ class Controller(object):
|
|||||||
if text == "":
|
if text == "":
|
||||||
return
|
return
|
||||||
extractor = self.window.extractor.GetValue()
|
extractor = self.window.extractor.GetValue()
|
||||||
|
self.change_status(_(u"Searching {0}... ").format(text))
|
||||||
extractors = get_extractors()
|
extractors = get_extractors()
|
||||||
for i in extractors:
|
for i in extractors:
|
||||||
if extractor == i.name:
|
if extractor == i.name:
|
||||||
@ -243,7 +244,6 @@ class Controller(object):
|
|||||||
break
|
break
|
||||||
log.debug("Started search for {0} (selected extractor: {1})".format(text, self.extractor.name))
|
log.debug("Started search for {0} (selected extractor: {1})".format(text, self.extractor.name))
|
||||||
self.window.list.Clear()
|
self.window.list.Clear()
|
||||||
self.change_status(_(u"Searching {0}... ").format(text))
|
|
||||||
self.extractor.search(text)
|
self.extractor.search(text)
|
||||||
self.results = self.extractor.results
|
self.results = self.extractor.results
|
||||||
for i in self.results:
|
for i in self.results:
|
||||||
|
Loading…
Reference in New Issue
Block a user