mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix 'underlying c++ object deleted' error in studydeck
This commit is contained in:
parent
fc8ee29ffd
commit
159067b950
1 changed files with 2 additions and 0 deletions
|
@ -134,4 +134,6 @@ class StudyDeck(QDialog):
|
|||
if n:
|
||||
self.mw.col.decks.id(n)
|
||||
self.name = n
|
||||
# make sure we clean up reset hook when manually exiting
|
||||
remHook('reset', self.onReset)
|
||||
QDialog.accept(self)
|
||||
|
|
Loading…
Reference in a new issue