This commit is contained in:
Kovid Goyal 2014-06-14 10:54:36 +05:30
parent bf7af85907
commit a085158fce

View File

@ -726,8 +726,8 @@ class TagsModel(QAbstractItemModel): # {{{
('tags', 'series', 'authors', 'rating', 'publisher') or \
(fm['is_custom'] and (
fm['datatype'] in ['text', 'rating', 'series',
'enumeration'] or
(fm['datatype'] == 'composite' and
'enumeration'] or (
fm['datatype'] == 'composite' and
fm['display'].get('make_category', False)))):
mime = 'application/calibre+from_library'
ids = list(map(int, str(md.data(mime)).split()))