forked from openlp/openlp
Reset Preview when exiting media
This commit is contained in:
commit
f778948abb
@ -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):
|
||||
|
@ -678,4 +678,5 @@ class SlideController(QtGui.QWidget):
|
||||
else:
|
||||
self.mediaObject.stop()
|
||||
self.video.hide()
|
||||
self.SlidePreview.clear()
|
||||
self.SlidePreview.show()
|
||||
|
@ -1 +1 @@
|
||||
1.9.0-662
|
||||
1.9.0-665
|
||||
|
Loading…
Reference in New Issue
Block a user