mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-20 22:12:37 -04:00
Bug #1909258: Fix for tags-like composite columns "shown in the tag browser" not considered categories in quickview.
This commit is contained in:
@@ -490,7 +490,9 @@ class Quickview(QDialog, Ui_Quickview):
|
||||
self.indicate_no_items()
|
||||
|
||||
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):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user