mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Add view/edit context-menu to formats in editmetadata. Menu short keys.
This commit is contained in:
parent
b1eedf9f40
commit
c25f72ca9c
@ -779,7 +779,7 @@ class ViewAction(QAction):
|
||||
|
||||
def __init__(self, item, parent):
|
||||
self.item = item
|
||||
QAction.__init__(self, _('View')+' '+item.ext.upper(), parent)
|
||||
QAction.__init__(self, _('&View')+' '+item.ext.upper(), parent)
|
||||
self.triggered.connect(self._triggered)
|
||||
|
||||
def _triggered(self):
|
||||
@ -791,7 +791,7 @@ class EditAction(QAction):
|
||||
|
||||
def __init__(self, item, parent):
|
||||
self.item = item
|
||||
QAction.__init__(self, _('Edit')+' '+item.ext.upper(), parent)
|
||||
QAction.__init__(self, _('&Edit')+' '+item.ext.upper(), parent)
|
||||
self.triggered.connect(self._triggered)
|
||||
|
||||
def _triggered(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user