forked from openlp/openlp
Stop preview media and presentations when moving them live
bzr-revno: 1558
This commit is contained in:
commit
14435e9725
@ -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