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:
parent
724513ca91
commit
53f0793b9e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user