From 7c19a4d545681561ebce2b47106f28b645667da9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 31 Aug 2011 11:06:43 -0600 Subject: [PATCH] E-book viewer: Ensure toolbars are always visible --- src/calibre/gui2/viewer/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/viewer/main.py b/src/calibre/gui2/viewer/main.py index f0c67b0b49..7ee913b57f 100644 --- a/src/calibre/gui2/viewer/main.py +++ b/src/calibre/gui2/viewer/main.py @@ -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('

'+ \