forked from openlp/openlp
Fix crash when sending Pdf live.
This commit is contained in:
parent
c8fd1b8338
commit
cf7630d3e3
@ -349,6 +349,7 @@ class MessageListener(object):
|
|||||||
# When presenting PDF/XPS/OXPS, we are using the image presentation code,
|
# When presenting PDF/XPS/OXPS, we are using the image presentation code,
|
||||||
# so handler & processor is set to None, and we skip adding the handler.
|
# so handler & processor is set to None, and we skip adding the handler.
|
||||||
self.handler = None
|
self.handler = None
|
||||||
|
else:
|
||||||
if self.handler == self.media_item.automatic:
|
if self.handler == self.media_item.automatic:
|
||||||
self.handler = self.media_item.find_controller_by_type(file)
|
self.handler = self.media_item.find_controller_by_type(file)
|
||||||
if not self.handler:
|
if not self.handler:
|
||||||
|
Loading…
Reference in New Issue
Block a user