forked from openlp/openlp
Fixed: replacing background with video unblank screen even if "Blanked to Theme" and shows content.
Fixes: https://launchpad.net/bugs/1225763
This commit is contained in:
parent
c17826937c
commit
7998ca7702
@ -2,6 +2,7 @@
|
||||
*.*~
|
||||
\#*\#
|
||||
*.eric4project
|
||||
*.eric5project
|
||||
*.ropeproject
|
||||
*.e4*
|
||||
.eric4project
|
||||
|
@ -423,10 +423,11 @@ class MediaController(object):
|
||||
controller.volumeSlider.blockSignals(False)
|
||||
return False
|
||||
if status:
|
||||
if not controller.media_info.is_background:
|
||||
display.frame.evaluateJavaScript(u'show_blank("desktop");')
|
||||
self.curDisplayMediaPlayer[display].set_visible(display,
|
||||
True)
|
||||
if controller.isLive:
|
||||
if controller.isLive and not controller.media_info.is_background:
|
||||
if controller.hideMenu.defaultAction().isChecked():
|
||||
controller.hideMenu.defaultAction().trigger()
|
||||
# Start Timer for ui updates
|
||||
|
Loading…
Reference in New Issue
Block a user