mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
removed unnecessary .0 after each period string (1.0 month)
This commit is contained in:
parent
2129554ab1
commit
4ef36ced69
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue