diff --git a/aqt/importing.py b/aqt/importing.py index c6f26f7d4..745bead41 100644 --- a/aqt/importing.py +++ b/aqt/importing.py @@ -252,6 +252,7 @@ you can enter it here. Use \\t to represent tab."""), def reject(self): self.modelChooser.cleanup() + self.deck.cleanup() remHook("currentModelChanged", self.modelChanged) QDialog.reject(self)