mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ca19bcd979
commit
7ec536a38b
@ -453,7 +453,7 @@ class Delegate(QStyledItemDelegate): # {{{
|
|||||||
def to_doc(self, index):
|
def to_doc(self, index):
|
||||||
data = index.data(Qt.UserRole).toPyObject()
|
data = index.data(Qt.UserRole).toPyObject()
|
||||||
if data is None:
|
if data is None:
|
||||||
html = _('<b>An unknown error occurred</b>')
|
html = _('<b>This shortcut no longer exists</b>')
|
||||||
elif data.is_shortcut:
|
elif data.is_shortcut:
|
||||||
shortcut = data.data
|
shortcut = data.data
|
||||||
# Shortcut
|
# Shortcut
|
||||||
|
Loading…
x
Reference in New Issue
Block a user