From d91f2a27b20b3785c8c8f967a69f9f9d8dd86344 Mon Sep 17 00:00:00 2001 From: abdo Date: Thu, 15 Oct 2020 16:14:14 +0300 Subject: [PATCH] Remove unused code --- qt/aqt/importing.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qt/aqt/importing.py b/qt/aqt/importing.py index bd2310bbf..aa1d2e9d5 100644 --- a/qt/aqt/importing.py +++ b/qt/aqt/importing.py @@ -115,13 +115,6 @@ class ImportDialog(QDialog): self.importer.model = self.mw.col.models.current() self.importer.initMapping() self.showMapping() - if self.mw.col.conf.get("addToCur", True): - did = self.mw.col.conf["curDeck"] - if self.mw.col.decks.isDyn(did): - did = 1 - else: - did = self.importer.model["did"] - # self.deck.setText(self.mw.col.decks.name(did)) def onDelimiter(self): str = (