Fix default value for codelite files checkbox.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 11 Jun 2010 14:30:46 +0000 (14:30 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 11 Jun 2010 14:30:46 +0000 (14:30 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3921 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BCreationPage.py

index 0696d811b6b392eec7706981e761fd14921eee88..62cdf7b81f2d9e630d81cbfcdf7b64e79de1b5d4 100644 (file)
@@ -59,7 +59,7 @@ class BCreationPage(BWizardPage):
         summary = self.pageContent.summaryTree
         summary.setHeaderHidden(True)
         summary.setColumnCount(1)
-        self.pageContent.codeliteCheckBox.setChecked("codelite" not in self.plugins())
+        self.pageContent.codeliteCheckBox.setChecked(isinstance(self.plugins(), list) and "codelite" not in self.plugins())
         self.codelitePluginChanged()
         self.setButtonText(QWizard.NextButton, self.tr("Create"))