mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Hide toolbar in fullscreen mode
Mimics behavior of old viewer
This commit is contained in:
parent
f362901931
commit
95adbb3093
1 changed files with 2 additions and 0 deletions
|
|
@ -205,8 +205,10 @@ def another_instance_wants_to_talk(self, msg):
|
|||
def set_full_screen(self, on):
|
||||
if on:
|
||||
self.maximized_at_last_fullscreen = self.isMaximized()
|
||||
self.actions_toolbar.setVisible(False)
|
||||
self.showFullScreen()
|
||||
else:
|
||||
self.actions_toolbar.update_visibility()
|
||||
if self.maximized_at_last_fullscreen:
|
||||
self.showMaximized()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue