Merge pull request #1291 from RumovZ/addon-cols

Show key of unknown browser columns
This commit is contained in:
Damien Elmes 2021-07-13 13:35:54 +10:00 committed by GitHub
commit 780a254ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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