From ca919b74c37bf0e2f74fa8e2d822465640b99b28 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 13 Sep 2009 07:25:07 +0100 Subject: [PATCH] Correct settings --- openlp/plugins/presentations/presentationplugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/presentations/presentationplugin.py b/openlp/plugins/presentations/presentationplugin.py index 5947634db..8228d5b3e 100644 --- a/openlp/plugins/presentations/presentationplugin.py +++ b/openlp/plugins/presentations/presentationplugin.py @@ -72,7 +72,7 @@ class PresentationPlugin(Plugin): """ log.debug('check_pre_conditions') #Lets see if Impress is required (Default is Not wanted) - if int(self.config.get_config(u'Impress', 0)) == 2: + if int(self.config.get_config(u'Impress', 0)) == QtCore.Qt.Checked: try: #Check to see if we have uno installed import uno @@ -81,7 +81,7 @@ class PresentationPlugin(Plugin): except: log.error(u'Reason : %s', sys.exc_info()) #Lets see if Impress is required (Default is Not wanted) - if int(self.config.get_config(u'Powerpoint', 0)) == 2: + if int(self.config.get_config(u'Powerpoint', 0)) == QtCore.Qt.Checked: try: #Check to see if we are Win32 from win32com.client import Dispatch @@ -90,7 +90,7 @@ class PresentationPlugin(Plugin): except: log.error(u'Reason : %s', sys.exc_info()) #Lets see if Impress is required (Default is Not wanted) - if int(self.config.get_config(u'Powerpoint Viewer', 0)) == 2: + if int(self.config.get_config(u'Powerpoint Viewer', 0)) == QtCore.Qt.Checked: try: #Check to see if we are Win32 from win32com.client import Dispatch