mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
use string rep for interval size instead of 0.3f
This commit is contained in:
parent
ecd9ffe2b9
commit
a520a61d8a
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ class DeckProperties(QDialog):
|
||||||
# scheduling
|
# scheduling
|
||||||
for type in ("hard", "mid", "easy"):
|
for type in ("hard", "mid", "easy"):
|
||||||
v = getattr(self.d, type + "IntervalMin")
|
v = getattr(self.d, type + "IntervalMin")
|
||||||
getattr(self.dialog, type + "Min").setText("%0.3f" % v)
|
getattr(self.dialog, type + "Min").setText(str(v))
|
||||||
v = getattr(self.d, type + "IntervalMax")
|
v = getattr(self.d, type + "IntervalMax")
|
||||||
getattr(self.dialog, type + "Max").setText("%0.3f" % v)
|
getattr(self.dialog, type + "Max").setText(str(v))
|
||||||
self.dialog.delay0.setText(unicode(self.d.delay0/60.0))
|
self.dialog.delay0.setText(unicode(self.d.delay0/60.0))
|
||||||
self.dialog.delay1.setText(unicode(self.d.delay1/60.0))
|
self.dialog.delay1.setText(unicode(self.d.delay1/60.0))
|
||||||
self.dialog.delay2.setText(unicode(self.d.delay2))
|
self.dialog.delay2.setText(unicode(self.d.delay2))
|
||||||
|
|
Loading…
Reference in a new issue