Fix search_AttrMap fails to set attr map by calling wrong method
Fix inducer#13.
This commit is contained in:
parent
267846172f
commit
36392c7af4
@ -205,9 +205,9 @@ class SearchBox(urwid.Edit):
|
||||
return None
|
||||
else:
|
||||
if self.do_search(1, self.search_start):
|
||||
self.ui.search_AttrMap.set_attr("search box")
|
||||
self.ui.search_AttrMap.set_attr_map({None: "search box"})
|
||||
else:
|
||||
self.ui.search_AttrMap.set_attr("search not found")
|
||||
self.ui.search_AttrMap.set_attr_map({None: "search not found"})
|
||||
|
||||
return result
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user