From 643be2ca5eeef4a10e4938247db533286d010a04 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Mon, 4 May 2009 14:51:56 +0100 Subject: [PATCH] Fix screen close --- openlp/core/ui/maindisplay.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index c2df08cf8..a5eb85076 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -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):