forked from openlp/openlp
revert to using EnablePresenterScreen as property name
This commit is contained in:
parent
60dafd80c0
commit
0fa973d485
@ -234,10 +234,10 @@ class ImpressController(PresentationController):
|
|||||||
'com.sun.star.configuration.ConfigurationUpdateAccess', properties)
|
'com.sun.star.configuration.ConfigurationUpdateAccess', properties)
|
||||||
# Get the specific setting for presentation screen
|
# Get the specific setting for presentation screen
|
||||||
presenter_screen_enabled = impress_conf_props.getHierarchicalPropertyValue(
|
presenter_screen_enabled = impress_conf_props.getHierarchicalPropertyValue(
|
||||||
'Misc/Start/PresenterScreen')
|
'Misc/Start/EnablePresenterScreen')
|
||||||
# If the presentation screen is enabled we disable it
|
# If the presentation screen is enabled we disable it
|
||||||
if presenter_screen_enabled != set_visible:
|
if presenter_screen_enabled != set_visible:
|
||||||
impress_conf_props.setHierarchicalPropertyValue('Misc/Start/PresenterScreen', set_visible)
|
impress_conf_props.setHierarchicalPropertyValue('Misc/Start/EnablePresenterScreen', set_visible)
|
||||||
impress_conf_props.commitChanges()
|
impress_conf_props.commitChanges()
|
||||||
# if set_visible is False this is an attempt to disable the Presenter Screen
|
# if set_visible is False this is an attempt to disable the Presenter Screen
|
||||||
# so we make a note that it has been disabled, so it can be enabled again on close.
|
# so we make a note that it has been disabled, so it can be enabled again on close.
|
||||||
|
Loading…
Reference in New Issue
Block a user