mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
make sure to save and restore resched
This commit is contained in:
parent
ea93cf3b72
commit
69da9b1e32
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ class DeckConf(QDialog):
|
|||
else:
|
||||
f.steps.setText("1 10")
|
||||
f.stepsOn.setChecked(False)
|
||||
f.resched.setChecked(d['resched'])
|
||||
f.order.setCurrentIndex(order)
|
||||
f.limit.setValue(limit)
|
||||
|
||||
|
@ -110,6 +111,7 @@ class DeckConf(QDialog):
|
|||
d['terms'][0] = [f.search.text(),
|
||||
f.limit.value(),
|
||||
f.order.currentIndex()]
|
||||
d['resched'] = f.resched.isChecked()
|
||||
self.mw.col.decks.save(d)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue