mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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:
parent
301844ae38
commit
a92ee3ecb5
@ -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):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user