forked from openlp/openlp
Disable the presentation console
This commit is contained in:
parent
aa982492e4
commit
4e739a3ed9
@ -318,6 +318,9 @@ class PowerpointDocument(PresentationDocument):
|
|||||||
size = ScreenList().current.display_geometry
|
size = ScreenList().current.display_geometry
|
||||||
ppt_window = None
|
ppt_window = None
|
||||||
try:
|
try:
|
||||||
|
# Disable the presentation console
|
||||||
|
self.presentation.SlideShowSettings.ShowPresenterView = 0
|
||||||
|
# Start the presentation
|
||||||
ppt_window = self.presentation.SlideShowSettings.Run()
|
ppt_window = self.presentation.SlideShowSettings.Run()
|
||||||
except (AttributeError, pywintypes.com_error):
|
except (AttributeError, pywintypes.com_error):
|
||||||
log.exception('Caught exception while in start_presentation')
|
log.exception('Caught exception while in start_presentation')
|
||||||
|
Loading…
Reference in New Issue
Block a user