mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
if steps disabled, make sure we reset conf
This commit is contained in:
parent
81b01f309c
commit
ea93cf3b72
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ class DeckConf(QDialog):
|
||||||
steps = self.userToList(f.steps)
|
steps = self.userToList(f.steps)
|
||||||
if steps:
|
if steps:
|
||||||
d['delays'] = steps
|
d['delays'] = steps
|
||||||
|
else:
|
||||||
|
d['delays'] = None
|
||||||
d['terms'][0] = [f.search.text(),
|
d['terms'][0] = [f.search.text(),
|
||||||
f.limit.value(),
|
f.limit.value(),
|
||||||
f.order.currentIndex()]
|
f.order.currentIndex()]
|
||||||
|
|
Loading…
Reference in a new issue