mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 21:14:44 +01:00
Focus webview when performing highlight action
This commit is contained in:
parent
3aeeca3cd8
commit
90f664e645
1 changed files with 1 additions and 0 deletions
|
|
@ -686,6 +686,7 @@ def prepare_for_close(self):
|
|||
|
||||
def highlight_action(self, uuid, which):
|
||||
self.execute_when_ready('highlight_action', uuid, which)
|
||||
self.setFocus(Qt.OtherFocusReason)
|
||||
|
||||
def contextMenuEvent(self, ev):
|
||||
ev.accept()
|
||||
|
|
|
|||
Loading…
Reference in a new issue