projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set executable attribute to main script
[bertos.git]
/
wizard
/
BFolderPage.py
diff --git
a/wizard/BFolderPage.py
b/wizard/BFolderPage.py
index 5a0a9566e9392571e337793748e8ee8b61729cef..181c94ca9306ff236df0ed3c1393d4758c86379b 100644
(file)
--- a/
wizard/BFolderPage.py
+++ b/
wizard/BFolderPage.py
@@
-25,7
+25,8
@@
class BFolderPage(BWizardPage):
def _initializeAttributes(self):
self._projectName = ""
def _initializeAttributes(self):
self._projectName = ""
- self._destinationFolder = ""
+ self._destinationFolder = os.path.expanduser("~")
+ self.pageContent.directoryEdit.setText(self._destinationFolder)
def _connectSignals(self):
self.connect(self.pageContent.nameEdit, SIGNAL("textChanged(const QString)"), self._nameChanged)
def _connectSignals(self):
self.connect(self.pageContent.nameEdit, SIGNAL("textChanged(const QString)"), self._nameChanged)
@@
-54,4
+55,8
@@
class BFolderPage(BWizardPage):
self.pageContent.directoryEdit.setText(directory)
def isComplete(self):
self.pageContent.directoryEdit.setText(directory)
def isComplete(self):
- return self.pageContent.projectPath.text() != "None"
\ No newline at end of file
+ if self.pageContent.projectPath.text() != "None":
+ self._projectInfoStore("PROJECT_PATH", self.pageContent.projectPath.text())
+ return True
+ else:
+ return False
\ No newline at end of file