From d67541f26d42dee61cb5f6ef55f84be2ab254753 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 May 2010 08:44:05 -0600 Subject: [PATCH] ... --- src/calibre/gui2/custom_column_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 91a13e9236..e366dbb7f2 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -98,7 +98,7 @@ class Float(Int): self.widgets = [QLabel('&'+self.col_metadata['name']+':', parent), QDoubleSpinBox(parent)] w = self.widgets[1] - self.setRange(-100., float(sys.maxint)) + w.setRange(-100., float(sys.maxint)) w.setDecimals(2) class Rating(Int):