mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix remembered tags not being applied to next added note
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/56
This commit is contained in:
parent
f26c7ed99e
commit
83a1d99e22
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ class AddCards(QDialog):
|
||||||
for n in range(min(len(note.fields), len(old_note.fields))):
|
for n in range(min(len(note.fields), len(old_note.fields))):
|
||||||
if flds[n]["sticky"]:
|
if flds[n]["sticky"]:
|
||||||
note.fields[n] = old_note.fields[n]
|
note.fields[n] = old_note.fields[n]
|
||||||
|
# and tags
|
||||||
|
note.tags = old_note.tags
|
||||||
self.setAndFocusNote(note)
|
self.setAndFocusNote(note)
|
||||||
|
|
||||||
def on_operation_did_execute(
|
def on_operation_did_execute(
|
||||||
|
|
Loading…
Reference in a new issue