Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 869917 | Differences between
and this patch

Collapse All | Expand All

(-)a/aqt/deckconf.py (-3 / +3 lines)
Lines 172-178 Link Here
172
        f.lrnGradInt.setValue(c['ints'][0])
172
        f.lrnGradInt.setValue(c['ints'][0])
173
        f.lrnEasyInt.setValue(c['ints'][1])
173
        f.lrnEasyInt.setValue(c['ints'][1])
174
        f.lrnEasyInt.setValue(c['ints'][1])
174
        f.lrnEasyInt.setValue(c['ints'][1])
175
        f.lrnFactor.setValue(c['initialFactor']/10.0)
175
        f.lrnFactor.setValue(int(c['initialFactor']/10.0))
176
        f.newOrder.setCurrentIndex(c['order'])
176
        f.newOrder.setCurrentIndex(c['order'])
177
        f.newPerDay.setValue(c['perDay'])
177
        f.newPerDay.setValue(c['perDay'])
178
        f.bury.setChecked(c.get("bury", True))
178
        f.bury.setChecked(c.get("bury", True))
Lines 180-186 Link Here
180
        # rev
180
        # rev
181
        c = self.conf['rev']
181
        c = self.conf['rev']
182
        f.revPerDay.setValue(c['perDay'])
182
        f.revPerDay.setValue(c['perDay'])
183
        f.easyBonus.setValue(c['ease4']*100)
183
        f.easyBonus.setValue(int(c['ease4']*100))
184
        f.fi1.setValue(c['ivlFct']*100)
184
        f.fi1.setValue(c['ivlFct']*100)
185
        f.maxIvl.setValue(c['maxIvl'])
185
        f.maxIvl.setValue(c['maxIvl'])
186
        f.revplim.setText(self.parentLimText('rev'))
186
        f.revplim.setText(self.parentLimText('rev'))
Lines 192-198 Link Here
192
        # lapse
192
        # lapse
193
        c = self.conf['lapse']
193
        c = self.conf['lapse']
194
        f.lapSteps.setText(self.listToUser(c['delays']))
194
        f.lapSteps.setText(self.listToUser(c['delays']))
195
        f.lapMult.setValue(c['mult']*100)
195
        f.lapMult.setValue(int(c['mult']*100))
196
        f.lapMinInt.setValue(c['minInt'])
196
        f.lapMinInt.setValue(c['minInt'])
197
        f.leechThreshold.setValue(c['leechFails'])
197
        f.leechThreshold.setValue(c['leechFails'])
198
        f.leechAction.setCurrentIndex(c['leechAction'])
198
        f.leechAction.setCurrentIndex(c['leechAction'])

Return to bug 869917