mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 04:55:57 +01:00
...
This commit is contained in:
parent
bf7af85907
commit
a085158fce
1 changed files with 4 additions and 4 deletions
|
|
@ -286,7 +286,7 @@ def rebuild_node_tree(self, state_map={}):
|
|||
traceback.print_stack()
|
||||
return
|
||||
# traceback.print_stack()
|
||||
#print ()
|
||||
# print ()
|
||||
self._build_in_progress = True
|
||||
self.beginResetModel()
|
||||
self._run_rebuild(state_map=state_map)
|
||||
|
|
@ -726,9 +726,9 @@ def do_drop_from_library(self, md, action, row, column, parent):
|
|||
('tags', 'series', 'authors', 'rating', 'publisher') or \
|
||||
(fm['is_custom'] and (
|
||||
fm['datatype'] in ['text', 'rating', 'series',
|
||||
'enumeration'] or
|
||||
(fm['datatype'] == 'composite' and
|
||||
fm['display'].get('make_category', False)))):
|
||||
'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()))
|
||||
self.handle_drop(node, ids)
|
||||
|
|
|
|||
Loading…
Reference in a new issue