diff --git a/src/pyj/read_book/view.pyj b/src/pyj/read_book/view.pyj index 6a6bb0bdb5..701647f903 100644 --- a/src/pyj/read_book/view.pyj +++ b/src/pyj/read_book/view.pyj @@ -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