mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #529 from Arthur-Milchior/load_note_once_on_note_type_change
Ensuring "setNote" is called only once during changing of note type
This commit is contained in:
commit
d81c725b46
1 changed files with 0 additions and 1 deletions
|
@ -112,7 +112,6 @@ class AddCards(QDialog):
|
|||
except IndexError:
|
||||
pass
|
||||
self.removeTempNote(oldNote)
|
||||
self.editor.setNote(note)
|
||||
|
||||
def onReset(self, model: None = None, keep: bool = False) -> None:
|
||||
oldNote = self.editor.note
|
||||
|
|
Loading…
Reference in a new issue