forked from openlp/openlp
Fix a couple of issues with last commit
This commit is contained in:
parent
e931fa023a
commit
65736ef8d1
@ -142,7 +142,7 @@ class MessageListener(object):
|
||||
"""
|
||||
Based on the handler passed at startup triggers slide show to shut down
|
||||
"""
|
||||
if not self.is_live:
|
||||
if self.is_live:
|
||||
Receiver().send_message(u'live_slide_show')
|
||||
self.controller.close_presentation()
|
||||
self.controller.slidenumber = 0
|
||||
|
@ -178,7 +178,7 @@ class PresentationController(object):
|
||||
log.debug(u'Kill')
|
||||
self.close_presentation()
|
||||
|
||||
def load_presentation(self, presentation, is_live):
|
||||
def load_presentation(self, presentation):
|
||||
"""
|
||||
Called when a presentation is added to the SlideController.
|
||||
Loads the presentation and starts it
|
||||
@ -186,8 +186,6 @@ class PresentationController(object):
|
||||
``presentation``
|
||||
The file name of the presentations to the run.
|
||||
|
||||
``is_live``
|
||||
True if Live controller is opening the presentation
|
||||
"""
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user