From: duplo Date: Fri, 11 Jun 2010 14:30:46 +0000 (+0000) Subject: Fix default value for codelite files checkbox. X-Git-Tag: 2.6.0~386 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=93a85a384a4679beaced353ef65354127655d236;p=bertos.git Fix default value for codelite files checkbox. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3921 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BCreationPage.py b/wizard/BCreationPage.py index 0696d811..62cdf7b8 100644 --- a/wizard/BCreationPage.py +++ b/wizard/BCreationPage.py @@ -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"))