E-book viewer: Ensure toolbars are always visible

This commit is contained in:
Kovid Goyal 2011-08-31 11:06:43 -06:00
parent b7fc5d2626
commit 7c19a4d545

View File

@ -359,7 +359,10 @@ class EbookViewer(MainWindow, Ui_EbookViewer):
mult = vprefs.get('multiplier', None)
if mult:
self.view.multiplier = mult
# On windows Qt lets the user hide toolbars via a right click in a very
# specific location, ensure they are visible.
self.tool_bar.setVisible(True)
self.tool_bar2.setVisible(True)
def lookup(self, word):
self.dictionary_view.setHtml('<html><body><p>'+ \