mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
parent
7f2fecb944
commit
a735ed19ae
1 changed files with 2 additions and 2 deletions
|
@ -109,9 +109,9 @@ class DataModel(QAbstractTableModel):
|
||||||
if type == stype:
|
if type == stype:
|
||||||
txt = name
|
txt = name
|
||||||
break
|
break
|
||||||
# handle case where extension has set an invalid column type
|
# give the user a hint an invalid column was added by an add-on
|
||||||
if not txt:
|
if not txt:
|
||||||
txt = self.browser.columns[0][1]
|
txt = _("Add-on")
|
||||||
return txt
|
return txt
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue