From 51af0ba7d4e1fd409fcfb37e24b9b11aef69478f Mon Sep 17 00:00:00 2001 From: RumovZ Date: Mon, 12 Jul 2021 19:03:51 +0200 Subject: [PATCH] Show key of unknown browser columns --- qt/aqt/browser/table/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/browser/table/model.py b/qt/aqt/browser/table/model.py index 4a9e68afd..8aff909a8 100644 --- a/qt/aqt/browser/table/model.py +++ b/qt/aqt/browser/table/model.py @@ -302,8 +302,8 @@ def addon_column_fillin(key: str) -> Column: """ return Column( key=key, - cards_mode_label=tr.browsing_addon(), - notes_mode_label=tr.browsing_addon(), + cards_mode_label=f"{tr.browsing_addon()} ({key})", + notes_mode_label=f"{tr.browsing_addon()} ({key})", sorting=Columns.SORTING_NONE, uses_cell_font=False, alignment=Columns.ALIGNMENT_CENTER,