From c918f6dd91bdb5465ff997c4318463e06236842b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 20 May 2012 17:10:18 +0900 Subject: [PATCH] Revert "change current deck if user specified different one when adding" This reverts commit 1794c69fe731b29b75b15c1f467b3f7fa84ba7a5. --- aqt/editor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aqt/editor.py b/aqt/editor.py index 025c0c7e9..c6ed84147 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -706,10 +706,6 @@ class Editor(object): did = 1 showInfo(_("Using default deck instead of cram deck.")) 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 m = self.note.model() m['tags'] = self.note.tags