From 3531ae089a6b1f79dbd1a3209a3f2b0726e8a656 Mon Sep 17 00:00:00 2001 From: abdo Date: Wed, 14 Oct 2020 12:54:29 +0300 Subject: [PATCH] Set card to None in reviewer cleanup --- qt/aqt/reviewer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/reviewer.py b/qt/aqt/reviewer.py index 15045dc59..c2f4fee94 100644 --- a/qt/aqt/reviewer.py +++ b/qt/aqt/reviewer.py @@ -76,6 +76,7 @@ class Reviewer: def cleanup(self) -> None: gui_hooks.reviewer_will_end() + self.card = None # Fetching a card ##########################################################################