mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
On closing highlights panel go back to text
This commit is contained in:
parent
bc1aa48632
commit
8fbf98aac2
@ -675,6 +675,7 @@ class Overlay:
|
|||||||
self.view.get_current_cfi('show-bookmarks', do_it)
|
self.view.get_current_cfi('show-bookmarks', do_it)
|
||||||
|
|
||||||
def show_highlights(self):
|
def show_highlights(self):
|
||||||
|
self.hide_current_panel()
|
||||||
if ui_operations.toggle_highlights:
|
if ui_operations.toggle_highlights:
|
||||||
self.hide()
|
self.hide()
|
||||||
ui_operations.toggle_highlights()
|
ui_operations.toggle_highlights()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user