diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 52071f925f..2eb5af1eaa 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -164,6 +164,7 @@ class Bool(Base): def set_to_cleared(self): self.combobox.setCurrentIndex(2) + class Int(Base): def setup_ui(self, parent): @@ -600,6 +601,7 @@ def comments_factory(db, key, parent): return LongText(db, key, parent) return Comments(db, key, parent) + widgets = { 'bool' : Bool, 'rating' : Rating, @@ -1206,5 +1208,3 @@ bulk_widgets = { 'series': BulkSeries, 'enumeration': BulkEnumeration, } - -