From 1b81fdf35e16a064da31a0f0a6e73318ba88a347 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 26 Nov 2020 07:40:47 +0530 Subject: [PATCH] Add an edit notes action to the context menu in the viewer highlights panel. See #1905646 (Can not use input method to write the note) --- src/calibre/gui2/viewer/highlights.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/viewer/highlights.py b/src/calibre/gui2/viewer/highlights.py index 113ef04f0a..71d2cf2f54 100644 --- a/src/calibre/gui2/viewer/highlights.py +++ b/src/calibre/gui2/viewer/highlights.py @@ -170,6 +170,7 @@ class Highlights(QTreeWidget): self.context_menu = m = QMenu(self) if h is not None: m.addAction(QIcon(I('edit_input.png')), _('Modify this highlight'), self.edit_requested.emit) + m.addAction(QIcon(I('edit_input.png')), _('Edit notes for this highlight'), self.edit_notes_requested.emit) m.addAction(QIcon(I('trash.png')), ngettext( 'Delete this highlight', 'Delete selected highlights', len(self.selectedItems()) ), self.delete_requested.emit)