don't attempt to draw view when in study screen

This commit is contained in:
Damien Elmes 2009-01-06 09:10:05 +09:00
parent b7250d3179
commit 6e35e483e5

View file

@ -44,7 +44,7 @@ class View(object):
def redisplay(self): def redisplay(self):
"Idempotently display the current state (prompt for question, etc)" "Idempotently display the current state (prompt for question, etc)"
if self.state == "noDeck": if self.state == "noDeck" or self.state == "studyScreen":
return return
self.clearWindow() self.clearWindow()
self.setBackgroundColour() self.setBackgroundColour()