mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 18:43:35 +02:00
...
This commit is contained in:
parent
ca19bcd979
commit
7ec536a38b
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ def __init__(self, parent=None):
|
|||
def to_doc(self, index):
|
||||
data = index.data(Qt.UserRole).toPyObject()
|
||||
if data is None:
|
||||
html = _('<b>An unknown error occurred</b>')
|
||||
html = _('<b>This shortcut no longer exists</b>')
|
||||
elif data.is_shortcut:
|
||||
shortcut = data.data
|
||||
# Shortcut
|
||||
|
|
|
|||
Loading…
Reference in a new issue