Reset Preview when exiting media

This commit is contained in:
Tim Bentley 2009-11-10 06:13:59 +00:00
commit f778948abb
3 changed files with 4 additions and 3 deletions

View File

@ -266,7 +266,7 @@ class MainDisplay(DisplayWidget):
def onMediaPlay(self, live=True):
log.debug(u'Play the new media, Live %s', live)
if not self.mediaLoaded and not self.displayBlank and live:
if not self.mediaLoaded and not self.displayBlank:
self.blankDisplay()
self.firstTime = True
self.mediaLoaded = True
@ -274,7 +274,7 @@ class MainDisplay(DisplayWidget):
self.display.hide()
self.video.setFullScreen(True)
self.mediaObject.play()
if self.primary and live:
if self.primary:
self.setVisible(True)
def onMediaPaws(self):

View File

@ -678,4 +678,5 @@ class SlideController(QtGui.QWidget):
else:
self.mediaObject.stop()
self.video.hide()
self.SlidePreview.clear()
self.SlidePreview.show()

View File

@ -1 +1 @@
1.9.0-662
1.9.0-665