This commit is contained in:
Kovid Goyal 2010-07-03 20:07:11 -06:00
parent 44957d4562
commit 97af13bd22

View File

@ -937,6 +937,7 @@ class DeviceBooksModel(BooksModel): # {{{
cname = self.column_map[index.column()]
if cname in ('title', 'authors') or \
(cname == 'collections' and \
callable(getattr(self.db, 'supports_collections', None)) and \
self.db.supports_collections() and \
prefs['preserve_user_collections']):
flags |= Qt.ItemIsEditable