mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
When displaying book, ensure the iframe has focus
This commit is contained in:
parent
85b8ee0130
commit
2eefa97a1d
@ -369,6 +369,7 @@ class View:
|
||||
|
||||
def display_book(self, book):
|
||||
self.hide_overlays()
|
||||
self.iframe.focus()
|
||||
is_current_book = self.book and self.book.key == book.key
|
||||
if not is_current_book:
|
||||
self.iframe_wrapper.reset()
|
||||
|
Loading…
x
Reference in New Issue
Block a user