forked from openlp/openlp
fixes
This commit is contained in:
parent
1613610853
commit
bfee664c94
@ -412,9 +412,13 @@ class SlideController(QtGui.QWidget):
|
||||
if item.is_media():
|
||||
self.onMediaStart(item)
|
||||
elif item.is_command():
|
||||
if self.isLive:
|
||||
blanked = self.blankButton.isChecked()
|
||||
else:
|
||||
blanked = False
|
||||
Receiver.send_message(u'%s_start' % item.name.lower(), \
|
||||
[item.title, item.service_item_path,
|
||||
item.get_frame_title(), slideno, self.isLive, self.blankButton.isChecked()])
|
||||
item.get_frame_title(), slideno, self.isLive, blanked])
|
||||
self.displayServiceManagerItems(item, slideno)
|
||||
|
||||
def displayServiceManagerItems(self, serviceItem, slideno):
|
||||
|
@ -218,11 +218,12 @@ class MessageListener(object):
|
||||
self.handler = self.mediaitem.findControllerByType(file)
|
||||
if not self.handler:
|
||||
return
|
||||
|
||||
|
||||
if isLive:
|
||||
self.liveHandler.addHandler(self.controllers[self.handler], file, isBlank)
|
||||
controller = self.liveHandler
|
||||
else:
|
||||
self.previewHandler.addHandler(self.controllers[self.handler], file)
|
||||
controller = self.previewHandler
|
||||
controller.addHandler(self.controllers[self.handler], file, isBlank)
|
||||
|
||||
def slide(self, message):
|
||||
slide, live = self.splitMessage(message)
|
||||
|
Loading…
Reference in New Issue
Block a user