forked from openlp/openlp
Fix PresentationPlugin finalising
This commit is contained in:
parent
fcd5836e0f
commit
5ed004c772
@ -62,7 +62,11 @@ class PresentationPlugin(Plugin):
|
||||
|
||||
def finalise(self):
|
||||
log.info(u'Plugin Finalise')
|
||||
Plugin.finalise(self)
|
||||
#Ask each controller to tidy up
|
||||
for key in self.controllers:
|
||||
controller = self.controllers[key]
|
||||
if controller.enabled:
|
||||
controller.kill()
|
||||
self.remove_toolbox_item()
|
||||
|
||||
def get_media_manager_item(self):
|
||||
@ -105,13 +109,5 @@ class PresentationPlugin(Plugin):
|
||||
else:
|
||||
return False
|
||||
|
||||
def finalise(self):
|
||||
log.debug(u'Finalise')
|
||||
#Ask each controller to tidy up
|
||||
for key in self.controllers:
|
||||
controller = self.controllers[key]
|
||||
if controller.enabled:
|
||||
controller.kill()
|
||||
|
||||
def about(self):
|
||||
return u'<b>Presentation Plugin</b> <br> Delivers the ability to show presentations using a number of different programs. The choice of available presentaion programs is available in a drop down.'
|
||||
|
Loading…
Reference in New Issue
Block a user