forked from openlp/openlp
Stop the media / presentation if going from Preview to Live
Fixes: https://launchpad.net/bugs/780095
This commit is contained in:
parent
0c2196339a
commit
66d851887a
@ -1050,6 +1050,14 @@ class SlideController(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
if QtCore.QSettings().value(u'advanced/double click live',
|
if QtCore.QSettings().value(u'advanced/double click live',
|
||||||
QtCore.QVariant(False)).toBool():
|
QtCore.QVariant(False)).toBool():
|
||||||
|
# Live and Preview have issues if we have video or presentations
|
||||||
|
# playing in both at the same time.
|
||||||
|
if self.serviceItem.is_command():
|
||||||
|
Receiver.send_message(u'%s_stop' %
|
||||||
|
self.serviceItem.name.lower(),
|
||||||
|
[self.serviceItem, self.isLive])
|
||||||
|
if self.serviceItem.is_media():
|
||||||
|
self.onMediaClose()
|
||||||
self.onGoLive()
|
self.onGoLive()
|
||||||
|
|
||||||
def onGoLive(self):
|
def onGoLive(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user