From e92deb94d26e538ea5402387e562e3d49d7b7923 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Fri, 28 Dec 2012 21:03:59 +0100 Subject: [PATCH] fixed presentation bug (bug #1094340) Fixes: https://launchpad.net/bugs/1094340 --- openlp/plugins/presentations/lib/presentationtab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/presentations/lib/presentationtab.py b/openlp/plugins/presentations/lib/presentationtab.py index 220da0d74..602c08195 100644 --- a/openlp/plugins/presentations/lib/presentationtab.py +++ b/openlp/plugins/presentations/lib/presentationtab.py @@ -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())