This commit is contained in:
Kovid Goyal 2020-10-01 14:01:01 +05:30
parent 13afd5537b
commit 5e524df4dc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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):