mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Make dropping a book onto an enumeration value in the tag browser work.
This commit is contained in:
parent
8127e5a4fe
commit
8798e1e089
@ -1518,7 +1518,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
if node.tag.category in \
|
||||
('tags', 'series', 'authors', 'rating', 'publisher') or \
|
||||
(fm['is_custom'] and \
|
||||
fm['datatype'] in ['text', 'rating', 'series']):
|
||||
fm['datatype'] in ['text', 'rating', 'series', 'enumeration']):
|
||||
ans |= Qt.ItemIsDropEnabled
|
||||
else:
|
||||
ans |= Qt.ItemIsDropEnabled
|
||||
|
Loading…
x
Reference in New Issue
Block a user