openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09667
[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 #791347 in OpenLP: "Traceback on startup when Bibles plugin is disabled"
https://bugs.launchpad.net/openlp/+bug/791347
For more details, see:
https://code.launchpad.net/~orangeshirt/openlp/bugfixes/+merge/63160
Fix Bug #791347
--
https://code.launchpad.net/~orangeshirt/openlp/bugfixes/+merge/63160
Your team OpenLP Core is requested to review the proposed merge of lp:~orangeshirt/openlp/bugfixes into lp:openlp.
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2011-05-29 16:00:37 +0000
+++ openlp/core/ui/mainwindow.py 2011-06-01 19:31:38 +0000
@@ -655,7 +655,7 @@
# Give all the plugins a chance to perform some tasks at startup
Receiver.send_message(u'openlp_process_events')
for plugin in self.pluginManager.plugins:
- if hasattr(plugin, u'appStartup'):
+ if plugin.isActive() and hasattr(plugin, u'appStartup'):
Receiver.send_message(u'openlp_process_events')
plugin.appStartup()
Receiver.send_message(u'openlp_process_events')
Follow ups