From 89a7122f9643ce366279995f2772d81ca6ce401d Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 18 Dec 2008 11:45:41 +0000 Subject: [PATCH] Add the store of the project info git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2072 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BVersionPage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.25.1