forked from openlp/openlp
fixed presentation bug (bug #1094340)
Fixes: https://launchpad.net/bugs/1094340
This commit is contained in:
parent
df3a1bd100
commit
e92deb94d2
@ -125,7 +125,7 @@ class PresentationTab(SettingsTab):
|
|||||||
if controller.is_available():
|
if controller.is_available():
|
||||||
checkbox = self.PresenterCheckboxes[controller.name]
|
checkbox = self.PresenterCheckboxes[controller.name]
|
||||||
setting_key = self.settingsSection + u'/' + controller.name
|
setting_key = self.settingsSection + u'/' + controller.name
|
||||||
if Settings().value(setting_key) != \
|
if Settings().value(setting_key, QtCore.Qt.Checked) != \
|
||||||
checkbox.checkState():
|
checkbox.checkState():
|
||||||
changed = True
|
changed = True
|
||||||
Settings().setValue(setting_key, checkbox.checkState())
|
Settings().setValue(setting_key, checkbox.checkState())
|
||||||
@ -134,7 +134,7 @@ class PresentationTab(SettingsTab):
|
|||||||
else:
|
else:
|
||||||
controller.kill()
|
controller.kill()
|
||||||
setting_key = self.settingsSection + u'/override app'
|
setting_key = self.settingsSection + u'/override app'
|
||||||
if Settings().value(setting_key) != \
|
if Settings().value(setting_key, QtCore.Qt.Checked) != \
|
||||||
self.OverrideAppCheckBox.checkState():
|
self.OverrideAppCheckBox.checkState():
|
||||||
Settings().setValue(setting_key,
|
Settings().setValue(setting_key,
|
||||||
self.OverrideAppCheckBox.checkState())
|
self.OverrideAppCheckBox.checkState())
|
||||||
|
Loading…
Reference in New Issue
Block a user