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):
|
||||
log.info(u'Alerts Initialising')
|
||||
Plugin.initialise(self)
|
||||
super(AlertsPlugin, self).initialise()
|
||||
self.tools_alert_item.setVisible(True)
|
||||
action_list = ActionList.get_instance()
|
||||
action_list.add_action(self.tools_alert_item, UiStrings().Tools)
|
||||
@ -164,7 +164,7 @@ class AlertsPlugin(Plugin):
|
||||
"""
|
||||
log.info(u'Alerts Finalising')
|
||||
self.manager.finalise()
|
||||
Plugin.finalise(self)
|
||||
super(AlertsPlugin, self).finalise()
|
||||
self.tools_alert_item.setVisible(False)
|
||||
action_list = ActionList.get_instance()
|
||||
action_list.remove_action(self.tools_alert_item, u'Tools')
|
||||
|
Loading…
Reference in New Issue
Block a user