Wizard option to create codelite files is True as default. The user must check everyt...
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 11 Jun 2010 15:04:39 +0000 (15:04 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 11 Jun 2010 15:04:39 +0000 (15:04 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3922 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BCreationPage.py

index 62cdf7b81f2d9e630d81cbfcdf7b64e79de1b5d4..dc200e8f8ef6b676550126fe9db86c42df37eea6 100644 (file)
@@ -43,7 +43,7 @@ import bertos_utils
 from const import *
 
 class BCreationPage(BWizardPage):
-    
+
     def __init__(self):
         BWizardPage.__init__(self, UI_LOCATION + "/project_creation.ui")
        self.setTitle(self.tr("Project summary"))
@@ -54,15 +54,15 @@ class BCreationPage(BWizardPage):
 
     def connectSignals(self):
         self.connect(self.pageContent.codeliteCheckBox, SIGNAL("stateChanged(int)"), self.codelitePluginChanged)
-    
+
     def setupUi(self):
         summary = self.pageContent.summaryTree
         summary.setHeaderHidden(True)
         summary.setColumnCount(1)
-        self.pageContent.codeliteCheckBox.setChecked(isinstance(self.plugins(), list) and "codelite" not in self.plugins())
+        self.pageContent.codeliteCheckBox.setChecked(False)
         self.codelitePluginChanged()
         self.setButtonText(QWizard.NextButton, self.tr("Create"))
-    
+
     def reloadData(self, previous_id=None):
         self.setupUi()
         self.pageContent.summaryTree.clear()
@@ -115,7 +115,7 @@ class BCreationPage(BWizardPage):
         self.pageContent.summaryTree.insertTopLevelItems(0, top_level)
         for item in top_level:
             self.pageContent.summaryTree.expandItem(item)
-    
+
     ####
 
     ## Slots ##
@@ -128,4 +128,4 @@ class BCreationPage(BWizardPage):
         self.setProjectInfo("OUTPUT", output)
         self.setPlugins(output)
 
-    ####
\ No newline at end of file
+    ####