forked from openlp/openlp
Fix missing serviceitem handling
This commit is contained in:
parent
78993adcf0
commit
cbb17039d5
@ -331,7 +331,8 @@ class SlideController(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
Blank the screen.
|
Blank the screen.
|
||||||
"""
|
"""
|
||||||
if self.commandItem.service_item_type == ServiceType.Command:
|
if self.commandItem is not None and \
|
||||||
|
self.commandItem.service_item_type == ServiceType.Command:
|
||||||
if blanked:
|
if blanked:
|
||||||
Receiver().send_message(u'%s_blank'% self.commandItem.name.lower())
|
Receiver().send_message(u'%s_blank'% self.commandItem.name.lower())
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user