mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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)
This commit is contained in:
parent
18a8ecd534
commit
1b81fdf35e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user