mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
don't reset on edits in the add card dialog
This commit is contained in:
parent
047b06cabd
commit
19ec6b2a1b
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ class AddCards(QDialog):
|
|||
self.dialog.fieldsArea,
|
||||
self.parent.deck)
|
||||
self.editor.addMode = True
|
||||
self.editor.resetOnEdit = False
|
||||
|
||||
def addChooser(self):
|
||||
self.modelChooser = ui.modelchooser.ModelChooser(self,
|
||||
|
@ -179,6 +180,7 @@ question or answer on all cards."""), parent=self)
|
|||
clearAudioQueue()
|
||||
|
||||
self.parent.deck.setUndoEnd(n)
|
||||
self.parent.deck.rebuildCounts()
|
||||
self.parent.updateTitleBar()
|
||||
self.parent.statusView.redraw()
|
||||
|
||||
|
|
Loading…
Reference in a new issue