forked from openlp/openlp
changed super calls
This commit is contained in:
parent
18508cf654
commit
4b7e9255a3
@ -153,7 +153,7 @@ class AlertsPlugin(Plugin):
|
|||||||
|
|
||||||
def initialise(self):
|
def initialise(self):
|
||||||
log.info(u'Alerts Initialising')
|
log.info(u'Alerts Initialising')
|
||||||
Plugin.initialise(self)
|
super(AlertsPlugin, self).initialise()
|
||||||
self.tools_alert_item.setVisible(True)
|
self.tools_alert_item.setVisible(True)
|
||||||
action_list = ActionList.get_instance()
|
action_list = ActionList.get_instance()
|
||||||
action_list.add_action(self.tools_alert_item, UiStrings().Tools)
|
action_list.add_action(self.tools_alert_item, UiStrings().Tools)
|
||||||
@ -164,7 +164,7 @@ class AlertsPlugin(Plugin):
|
|||||||
"""
|
"""
|
||||||
log.info(u'Alerts Finalising')
|
log.info(u'Alerts Finalising')
|
||||||
self.manager.finalise()
|
self.manager.finalise()
|
||||||
Plugin.finalise(self)
|
super(AlertsPlugin, self).finalise()
|
||||||
self.tools_alert_item.setVisible(False)
|
self.tools_alert_item.setVisible(False)
|
||||||
action_list = ActionList.get_instance()
|
action_list = ActionList.get_instance()
|
||||||
action_list.remove_action(self.tools_alert_item, u'Tools')
|
action_list.remove_action(self.tools_alert_item, u'Tools')
|
||||||
|
Loading…
Reference in New Issue
Block a user