mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
13afd5537b
commit
5e524df4dc
@ -336,7 +336,7 @@ class EbookViewer(MainWindow):
|
||||
|
||||
def toggle_lookup(self, force_show=False):
|
||||
self.lookup_dock.setVisible(force_show or not self.lookup_dock.isVisible())
|
||||
if force_show:
|
||||
if force_show and self.lookup_dock.isVisible():
|
||||
self.lookup_widget.on_forced_show()
|
||||
|
||||
def toc_clicked(self, index):
|
||||
|
Loading…
x
Reference in New Issue
Block a user