mirror of
https://github.com/ankitects/anki.git
synced 2025-11-21 03:57:14 -05:00
Remove temporary note when switching note model
This commit is contained in:
parent
082448744d
commit
d530d5fdef
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ class AddCards(QDialog):
|
|||
note.fields[n] = oldNote.fields[n]
|
||||
except IndexError:
|
||||
pass
|
||||
self.removeTempNote(oldNote)
|
||||
self.editor.currentField = 0
|
||||
self.editor.setNote(note, focus=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue