Make a deep copy in reviewer/create-copy (#3013)

This commit is contained in:
Lucas Scharenbroch 2024-02-18 00:09:53 -06:00 committed by GitHub
parent 97dcb776de
commit a7f7f3f67b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,8 +69,8 @@ class AddCards(QMainWindow):
self.deck_chooser.selected_deck_id = deck_id
new_note = self._new_note()
new_note.fields = note.fields
new_note.tags = note.tags
new_note.fields = note.fields[:]
new_note.tags = note.tags[:]
self.setAndFocusNote(new_note)