← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~j-corwin/openlp/present into lp:openlp

 

Jonathan Corwin has proposed merging lp:~j-corwin/openlp/present into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)


Start presentation app processes in correct place
-- 
https://code.launchpad.net/~j-corwin/openlp/present/+merge/22086
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/presentations/presentationplugin.py'
--- openlp/plugins/presentations/presentationplugin.py	2010-03-21 23:58:01 +0000
+++ openlp/plugins/presentations/presentationplugin.py	2010-03-24 23:06:24 +0000
@@ -57,6 +57,8 @@
         for controller in self.controllers:
             if self.controllers[controller].enabled:
                 presentation_types.append({u'%s' % controller : self.controllers[controller].supports})
+                self.controllers[controller].start_process()
+
         Receiver.send_message(
                     u'presentation types', presentation_types)
 
@@ -104,8 +106,6 @@
         for controller_class in controller_classes:
             controller = controller_class(self)
             self.registerControllers(controller)
-            if controller.enabled:
-                controller.start_process()
         if self.controllers:
             return True
         else:


Follow ups