Disable the presentation console

This commit is contained in:
Tomas Groth 2019-03-27 21:29:19 +01:00
parent aa982492e4
commit 4e739a3ed9

View File

@ -318,6 +318,9 @@ class PowerpointDocument(PresentationDocument):
size = ScreenList().current.display_geometry
ppt_window = None
try:
# Disable the presentation console
self.presentation.SlideShowSettings.ShowPresenterView = 0
# Start the presentation
ppt_window = self.presentation.SlideShowSettings.Run()
except (AttributeError, pywintypes.com_error):
log.exception('Caught exception while in start_presentation')