mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't attempt to draw view when in study screen
This commit is contained in:
parent
b7250d3179
commit
6e35e483e5
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class View(object):
|
|||
|
||||
def redisplay(self):
|
||||
"Idempotently display the current state (prompt for question, etc)"
|
||||
if self.state == "noDeck":
|
||||
if self.state == "noDeck" or self.state == "studyScreen":
|
||||
return
|
||||
self.clearWindow()
|
||||
self.setBackgroundColour()
|
||||
|
|
Loading…
Reference in a new issue