mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
Revert "change current deck if user specified different one when adding"
This reverts commit 1794c69fe7.
This commit is contained in:
parent
d91f4279ae
commit
c918f6dd91
1 changed files with 0 additions and 4 deletions
|
|
@ -706,10 +706,6 @@ class Editor(object):
|
||||||
did = 1
|
did = 1
|
||||||
showInfo(_("Using default deck instead of cram deck."))
|
showInfo(_("Using default deck instead of cram deck."))
|
||||||
self.note.model()['did'] = did
|
self.note.model()['did'] = did
|
||||||
# if adding to the current and the user specified a different
|
|
||||||
# deck, make that the current
|
|
||||||
if self.mw.col.conf.get("addToCur", True):
|
|
||||||
self.mw.col.decks.select(did)
|
|
||||||
# save tags to model
|
# save tags to model
|
||||||
m = self.note.model()
|
m = self.note.model()
|
||||||
m['tags'] = self.note.tags
|
m['tags'] = self.note.tags
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue