mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix initial factor in group conf
This commit is contained in:
parent
d48813c743
commit
7db7ef8df0
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class GroupConf(QDialog):
|
||||||
f.lrnGradInt.setValue(c['ints'][0])
|
f.lrnGradInt.setValue(c['ints'][0])
|
||||||
f.lrnEasyInt.setValue(c['ints'][2])
|
f.lrnEasyInt.setValue(c['ints'][2])
|
||||||
f.lrnFirstInt.setValue(c['ints'][1])
|
f.lrnFirstInt.setValue(c['ints'][1])
|
||||||
f.lrnFactor.setValue(c['initialFactor']*100)
|
f.lrnFactor.setValue(c['initialFactor']/10.0)
|
||||||
# lapse
|
# lapse
|
||||||
c = self.conf['lapse']
|
c = self.conf['lapse']
|
||||||
f.lapSteps.setText(self.listToUser(c['delays']))
|
f.lapSteps.setText(self.listToUser(c['delays']))
|
||||||
|
@ -106,7 +106,7 @@ class GroupConf(QDialog):
|
||||||
c['ints'][0] = f.lrnGradInt.value()
|
c['ints'][0] = f.lrnGradInt.value()
|
||||||
c['ints'][2] = f.lrnEasyInt.value()
|
c['ints'][2] = f.lrnEasyInt.value()
|
||||||
c['ints'][1] = f.lrnFirstInt.value()
|
c['ints'][1] = f.lrnFirstInt.value()
|
||||||
c['initialFactor'] = f.lrnFactor.value()/100.0
|
c['initialFactor'] = f.lrnFactor.value()*10
|
||||||
# lapse
|
# lapse
|
||||||
c = self.conf['lapse']
|
c = self.conf['lapse']
|
||||||
self.updateList(c, 'delays', f.lapSteps)
|
self.updateList(c, 'delays', f.lapSteps)
|
||||||
|
|
Loading…
Reference in a new issue