Bug #1909258: Fix for tags-like composite columns "shown in the tag browser" not considered categories in quickview.

This commit is contained in:
Charles Haley 2020-12-25 21:11:38 +00:00
parent 301844ae38
commit a92ee3ecb5

View File

@ -490,7 +490,9 @@ class Quickview(QDialog, Ui_Quickview):
self.indicate_no_items() self.indicate_no_items()
def is_category(self, key): def is_category(self, key):
return key is not None and self.fm[key]['is_category'] return key is not None and (self.fm[key]['is_category'] or
(self.fm[key]['datatype'] == 'composite' and
self.fm[key]['display'].get('make_category', False)))
def _refresh(self, book_id, key): def _refresh(self, book_id, key):
''' '''