This commit is contained in:
Kovid Goyal 2010-05-05 08:44:05 -06:00
parent 07f3e87b13
commit d67541f26d

View File

@ -98,7 +98,7 @@ class Float(Int):
self.widgets = [QLabel('&'+self.col_metadata['name']+':', parent), self.widgets = [QLabel('&'+self.col_metadata['name']+':', parent),
QDoubleSpinBox(parent)] QDoubleSpinBox(parent)]
w = self.widgets[1] w = self.widgets[1]
self.setRange(-100., float(sys.maxint)) w.setRange(-100., float(sys.maxint))
w.setDecimals(2) w.setDecimals(2)
class Rating(Int): class Rating(Int):