Allow wikipedia lookup from filemanager

Also allow taking screenshot when on dictionary window.
This commit is contained in:
poire-z
2017-05-12 18:28:42 +02:00
committed by Frans de Jonge
parent b33c9268d2
commit 9e346f5559
5 changed files with 15 additions and 4 deletions

View File

@@ -220,8 +220,10 @@ function ReaderDictionary:showDict(word, results, box)
is_wiki = self.is_wiki,
wiki_languages = self.wiki_languages,
refresh_callback = function()
-- update info in footer (time, battery, etc)
self.view.footer:updateFooter()
if self.view then
-- update info in footer (time, battery, etc)
self.view.footer:updateFooter()
end
end,
}
table.insert(self.dict_window_list, self.dict_window)