mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
instead of changing default deck on add, only set once
This commit is contained in:
parent
c918f6dd91
commit
4998e038bb
1 changed files with 7 additions and 6 deletions
|
@ -674,6 +674,7 @@ class Editor(object):
|
||||||
self.tags.setCol(self.mw.col)
|
self.tags.setCol(self.mw.col)
|
||||||
if self.addMode:
|
if self.addMode:
|
||||||
if self.mw.col.conf.get("addToCur", True):
|
if self.mw.col.conf.get("addToCur", True):
|
||||||
|
if not self.deck.text():
|
||||||
col = self.mw.col
|
col = self.mw.col
|
||||||
did = col.conf['curDeck']
|
did = col.conf['curDeck']
|
||||||
if col.decks.isDyn(did):
|
if col.decks.isDyn(did):
|
||||||
|
|
Loading…
Reference in a new issue