forked from openlp/openlp
Start presentation apps in right place
This commit is contained in:
parent
95afcfec79
commit
b490e74012
@ -57,6 +57,8 @@ class PresentationPlugin(Plugin):
|
|||||||
for controller in self.controllers:
|
for controller in self.controllers:
|
||||||
if self.controllers[controller].enabled:
|
if self.controllers[controller].enabled:
|
||||||
presentation_types.append({u'%s' % controller : self.controllers[controller].supports})
|
presentation_types.append({u'%s' % controller : self.controllers[controller].supports})
|
||||||
|
self.controllers[controller].start_process()
|
||||||
|
|
||||||
Receiver.send_message(
|
Receiver.send_message(
|
||||||
u'presentation types', presentation_types)
|
u'presentation types', presentation_types)
|
||||||
|
|
||||||
@ -104,8 +106,6 @@ class PresentationPlugin(Plugin):
|
|||||||
for controller_class in controller_classes:
|
for controller_class in controller_classes:
|
||||||
controller = controller_class(self)
|
controller = controller_class(self)
|
||||||
self.registerControllers(controller)
|
self.registerControllers(controller)
|
||||||
if controller.enabled:
|
|
||||||
controller.start_process()
|
|
||||||
if self.controllers:
|
if self.controllers:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user