← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~orangeshirt/openlp/bugfixes into lp:openlp

 

Armin Köhler has proposed merging lp:~orangeshirt/openlp/bugfixes into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #793091 in OpenLP: "Bible Upgrade does not work for disabled plugins"
  https://bugs.launchpad.net/openlp/+bug/793091

For more details, see:
https://code.launchpad.net/~orangeshirt/openlp/bugfixes/+merge/63498

Fix Bug #793091 - if plugin changed status from inactive to active plugin.appStartup now is called
-- 
https://code.launchpad.net/~orangeshirt/openlp/bugfixes/+merge/63498
Your team OpenLP Core is requested to review the proposed merge of lp:~orangeshirt/openlp/bugfixes into lp:openlp.
=== modified file 'openlp/core/ui/pluginform.py'
--- openlp/core/ui/pluginform.py	2011-05-28 18:47:14 +0000
+++ openlp/core/ui/pluginform.py	2011-06-05 18:27:25 +0000
@@ -132,6 +132,9 @@
             Receiver.send_message(u'cursor_busy')
             self.activePlugin.toggleStatus(PluginStatus.Active)
             Receiver.send_message(u'cursor_normal')
+            if hasattr(self.activePlugin, u'appStartup'):
+                Receiver.send_message(u'openlp_process_events')
+                self.activePlugin.appStartup()
         else:
             self.activePlugin.toggleStatus(PluginStatus.Inactive)
         status_text = unicode(