From: asterix Date: Fri, 11 Jun 2010 15:04:39 +0000 (+0000) Subject: Wizard option to create codelite files is True as default. The user must check everyt... X-Git-Tag: 2.6.0~385 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bcb1955fab2f29a6a8f7bae772faaeaaf25740de;p=bertos.git Wizard option to create codelite files is True as default. The user must check everytime the checkbox to not create them. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3922 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BCreationPage.py b/wizard/BCreationPage.py index 62cdf7b8..dc200e8f 100644 --- a/wizard/BCreationPage.py +++ b/wizard/BCreationPage.py @@ -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 + ####