diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index c487a8a252..7ffbc42f02 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -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