From 5505644176fa66c35d81364710bdf50057a4c6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20K=C3=B6hler?= Date: Sun, 5 Jun 2011 20:19:44 +0200 Subject: [PATCH] Fix Bug #793091 - if plugin changed status from inactive to active plugin.appStartup is called --- openlp/core/ui/pluginform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/pluginform.py b/openlp/core/ui/pluginform.py index c93b08ccb..37c6c8d63 100644 --- a/openlp/core/ui/pluginform.py +++ b/openlp/core/ui/pluginform.py @@ -132,6 +132,9 @@ class PluginForm(QtGui.QDialog, Ui_PluginViewDialog): 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(