mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
leech action is no longer an array
This commit is contained in:
parent
e28f5fe931
commit
cfefbc92ad
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class GroupConf(QDialog):
|
|||
f.lapMult.setValue(c['mult']*100)
|
||||
f.lapMinInt.setValue(c['minInt'])
|
||||
f.leechThreshold.setValue(c['leechFails'])
|
||||
f.leechAction.setCurrentIndex(c['leechAction'][0])
|
||||
f.leechAction.setCurrentIndex(c['leechAction'])
|
||||
f.lapRelearn.setChecked(c['relearn'])
|
||||
# rev
|
||||
c = self.conf['rev']
|
||||
|
@ -113,7 +113,7 @@ class GroupConf(QDialog):
|
|||
c['mult'] = f.lapMult.value()/100.0
|
||||
c['minInt'] = f.lapMinInt.value()
|
||||
c['leechFails'] = f.leechThreshold.value()
|
||||
c['leechAction'][0] = f.leechAction.currentIndex()
|
||||
c['leechAction'] = f.leechAction.currentIndex()
|
||||
c['relearn'] = f.lapRelearn.isChecked()
|
||||
# rev
|
||||
c = self.conf['rev']
|
||||
|
|
Loading…
Reference in a new issue