Fix screen close

This commit is contained in:
Tim Bentley 2009-05-04 14:51:56 +01:00
parent 13766fc7c7
commit 643be2ca5e
1 changed files with 2 additions and 3 deletions

View File

@ -62,16 +62,15 @@ class MainDisplay(QtGui.QWidget):
def frameView(self, frame):
if self.displayBlank == False:
self.display.setPixmap(frame)
self.frame = frame
def blankDisplay(self):
if self.displayBlank == False:
self.displayBlank = True
self.tempPixmap = self.display.pixmap()
self.display.setPixmap(self.blankFrame)
else:
self.displayBlank = False
self.frameView(self.tempPixmap)
self.tempPixmap = None
self.frameView(self.frame)
def kill(self):