forked from openlp/openlp
Fix a couple of Impress load/reload bugs
This commit is contained in:
parent
f26000ab50
commit
f17ae4dcb3
@ -74,7 +74,6 @@ class MessageListener(object):
|
||||
return
|
||||
if not self.controller.is_loaded():
|
||||
self.controller.load_presentation(self.controller.filepath)
|
||||
else:
|
||||
self.controller.start_presentation()
|
||||
if self.controller.slidenumber > 1:
|
||||
self.controller.goto_slide(self.controller.slidenumber)
|
||||
|
@ -198,6 +198,8 @@ class PresentationController(object):
|
||||
recent than the powerpoint
|
||||
"""
|
||||
lastimage = self.get_slide_preview_file(self.get_slide_count())
|
||||
if lastimage is None:
|
||||
return False
|
||||
if not os.path.isfile(lastimage):
|
||||
return False
|
||||
imgdate = os.stat(lastimage).st_mtime
|
||||
|
Loading…
Reference in New Issue
Block a user