mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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:
|
||||
txt = name
|
||||
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:
|
||||
txt = self.browser.columns[0][1]
|
||||
txt = _("Add-on")
|
||||
return txt
|
||||
else:
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue