From a735ed19ae25eae743853a54794687c5f12ee83e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 12 Dec 2019 09:53:42 +1000 Subject: [PATCH] clearer name for invalid column https://github.com/dae/anki/pull/360 --- aqt/browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aqt/browser.py b/aqt/browser.py index 86e8400d2..ee782a805 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -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