From 93a85a384a4679beaced353ef65354127655d236 Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 11 Jun 2010 14:30:46 +0000 Subject: [PATCH] Fix default value for codelite files checkbox. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3921 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BCreationPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- 2.25.1