mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
remember tags when add cards window opened (#632)
This commit is contained in:
parent
78155afb09
commit
ddc85b3a39
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ class AddCards(QDialog):
|
|||
|
||||
def setupNewNote(self, set=True):
|
||||
f = self.mw.col.newNote()
|
||||
f.tags = f.model()['tags']
|
||||
if set:
|
||||
self.editor.setNote(f, focus=True)
|
||||
return f
|
||||
|
|
Loading…
Reference in a new issue