This commit is contained in:
Kovid Goyal 2016-12-29 09:43:05 +05:30
parent 7d808289db
commit 0d032ad273

View File

@ -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: