From: duplo Date: Thu, 18 Dec 2008 11:45:41 +0000 (+0000) Subject: Add the store of the project info X-Git-Tag: 2.1.0~610 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=89a7122f9643ce366279995f2772d81ca6ce401d;p=bertos.git Add the store of the project info git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2072 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BVersionPage.py b/wizard/BVersionPage.py index f5e9099d..b9d42bc1 100644 --- a/wizard/BVersionPage.py +++ b/wizard/BVersionPage.py @@ -59,7 +59,11 @@ class BVersionPage(BWizardPage): self._insertListElement(directory.toString()) def isComplete(self): - return self.pageContent.versionList.currentRow() != -1 + if self.pageContent.versionList.currentRow() != -1: + self._projectInfoStore("SOURCES_PATH", self.pageContent.versionList.currentItem().data(Qt.UserRole).toString()) + return True + else: + return False def addVersion(self): directory = QFileDialog.getExistingDirectory(self, self.tr("Choose a directory"), "", QFileDialog.ShowDirsOnly | QFileDialog.DontResolveSymlinks)