clean up deck chooser hook on importer close

fixes
https://anki.tenderapp.com/discussions/ankidesktop/20841-editingimport-limitation#comment_44777511
This commit is contained in:
Damien Elmes 2018-03-01 14:20:30 +10:00
parent 724513ca91
commit 53f0793b9e

View File

@ -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)