mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
save not just conf but deck too in deck options
This commit is contained in:
parent
690f6b0640
commit
bbde6dd1f8
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ class DeckConf(QDialog):
|
||||||
c['autoplay'] = f.autoplaySounds.isChecked()
|
c['autoplay'] = f.autoplaySounds.isChecked()
|
||||||
# description
|
# description
|
||||||
self.deck['desc'] = f.desc.toPlainText()
|
self.deck['desc'] = f.desc.toPlainText()
|
||||||
|
self.mw.col.decks.save(self.deck)
|
||||||
self.mw.col.decks.save(self.conf)
|
self.mw.col.decks.save(self.conf)
|
||||||
|
|
||||||
def reject(self):
|
def reject(self):
|
||||||
|
|
Loading…
Reference in a new issue