removed unnecessary .0 after each period string (1.0 month)

This commit is contained in:
Timo Paulssen 2008-12-10 19:28:12 +01:00
parent 2129554ab1
commit 4ef36ced69

View file

@ -83,7 +83,7 @@ class AdjustableFigure(QWidget):
def addCombo(self):
self.periodCombo = QComboBox()
self.periodCombo.addItems(QStringList(
[anki.utils.fmtTimeSpan(x*86400) for x in self.choices]))
[anki.utils.fmtTimeSpan(x*86400, point = -1) for x in self.choices]))
self.hbox.addWidget(self.periodCombo)
idx = self.config.get('graphs.period.' + self.name, 1)
self.periodCombo.setCurrentIndex(idx)