mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Ensure toolbars are always visible
This commit is contained in:
parent
b7fc5d2626
commit
7c19a4d545
@ -359,7 +359,10 @@ class EbookViewer(MainWindow, Ui_EbookViewer):
|
|||||||
mult = vprefs.get('multiplier', None)
|
mult = vprefs.get('multiplier', None)
|
||||||
if mult:
|
if mult:
|
||||||
self.view.multiplier = 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):
|
def lookup(self, word):
|
||||||
self.dictionary_view.setHtml('<html><body><p>'+ \
|
self.dictionary_view.setHtml('<html><body><p>'+ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user