mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7d808289db
commit
0d032ad273
@ -511,7 +511,7 @@ class ImagesWidget(QWidget):
|
|||||||
|
|
||||||
class LinksModel(FileCollection):
|
class LinksModel(FileCollection):
|
||||||
|
|
||||||
COLUMN_HEADERS = ['✓ ', _('Source'), _('Source text'), _('Target'), _('Anchor'), _('Target text')]
|
COLUMN_HEADERS = ['✓', _('Source'), _('Source text'), _('Target'), _('Anchor'), _('Target text')]
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
FileCollection.__init__(self, parent)
|
FileCollection.__init__(self, parent)
|
||||||
@ -541,7 +541,7 @@ class LinksModel(FileCollection):
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
return None
|
return None
|
||||||
if col == 0:
|
if col == 0:
|
||||||
return {True:'✓ ', False:'✗'}.get(link.ok)
|
return {True:'✓', False:'✗'}.get(link.ok)
|
||||||
if col == 1:
|
if col == 1:
|
||||||
return link.location.name
|
return link.location.name
|
||||||
if col == 2:
|
if col == 2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user