mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore highlight actions if the highight UI is open
This commit is contained in:
parent
d6498bf837
commit
7d38da5243
@ -1191,6 +1191,8 @@ class View:
|
||||
self.show_name(sr.file_name, initial_position={'type':'search_result', 'search_result':sr, 'replace_history':True})
|
||||
|
||||
def highlight_action(self, uuid, which):
|
||||
if self.create_annotation.is_visible:
|
||||
return
|
||||
if which is 'create':
|
||||
self.iframe_wrapper.send_message('create_annotation')
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user