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():
|
||||
checkbox = self.PresenterCheckboxes[controller.name]
|
||||
setting_key = self.settingsSection + u'/' + controller.name
|
||||
if Settings().value(setting_key) != \
|
||||
if Settings().value(setting_key, QtCore.Qt.Checked) != \
|
||||
checkbox.checkState():
|
||||
changed = True
|
||||
Settings().setValue(setting_key, checkbox.checkState())
|
||||
@ -134,7 +134,7 @@ class PresentationTab(SettingsTab):
|
||||
else:
|
||||
controller.kill()
|
||||
setting_key = self.settingsSection + u'/override app'
|
||||
if Settings().value(setting_key) != \
|
||||
if Settings().value(setting_key, QtCore.Qt.Checked) != \
|
||||
self.OverrideAppCheckBox.checkState():
|
||||
Settings().setValue(setting_key,
|
||||
self.OverrideAppCheckBox.checkState())
|
||||
|
Loading…
Reference in New Issue
Block a user