projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add BeRTOS versions contained in the windows registry
[bertos.git]
/
wizard
/
BVersionPage.py
diff --git
a/wizard/BVersionPage.py
b/wizard/BVersionPage.py
index 5d891b2192e334b4c68f0f8c708ab48d87c38309..fde94dbb84dae030ef9a20034a02788de946cd19 100644
(file)
--- a/
wizard/BVersionPage.py
+++ b/
wizard/BVersionPage.py
@@
-153,7
+153,11
@@
class BVersionPage(BWizardPage):
"""
Fills the version list with all the BeRTOS versions founded in the QSettings.
"""
"""
Fills the version list with all the BeRTOS versions founded in the QSettings.
"""
- versions = self.versions()
+ versions = set([])
+ if os.name == "nt":
+ import winreg_importer
+ versions |= set(winreg_importer.getBertosDirs())
+ versions |= set(self.versions())
selected = self.projectInfo("SOURCES_PATH")
for directory in versions:
item = self.insertListElement(directory)
selected = self.projectInfo("SOURCES_PATH")
for directory in versions:
item = self.insertListElement(directory)