mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
bf7af85907
commit
a085158fce
@ -286,7 +286,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
traceback.print_stack()
|
traceback.print_stack()
|
||||||
return
|
return
|
||||||
# traceback.print_stack()
|
# traceback.print_stack()
|
||||||
#print ()
|
# print ()
|
||||||
self._build_in_progress = True
|
self._build_in_progress = True
|
||||||
self.beginResetModel()
|
self.beginResetModel()
|
||||||
self._run_rebuild(state_map=state_map)
|
self._run_rebuild(state_map=state_map)
|
||||||
@ -726,8 +726,8 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
('tags', 'series', 'authors', 'rating', 'publisher') or \
|
('tags', 'series', 'authors', 'rating', 'publisher') or \
|
||||||
(fm['is_custom'] and (
|
(fm['is_custom'] and (
|
||||||
fm['datatype'] in ['text', 'rating', 'series',
|
fm['datatype'] in ['text', 'rating', 'series',
|
||||||
'enumeration'] or
|
'enumeration'] or (
|
||||||
(fm['datatype'] == 'composite' and
|
fm['datatype'] == 'composite' and
|
||||||
fm['display'].get('make_category', False)))):
|
fm['display'].get('make_category', False)))):
|
||||||
mime = 'application/calibre+from_library'
|
mime = 'application/calibre+from_library'
|
||||||
ids = list(map(int, str(md.data(mime)).split()))
|
ids = list(map(int, str(md.data(mime)).split()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user