projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor all module. Clean up. Fix comments. Some patch to work with preemtive kernel...
[bertos.git]
/
wizard
/
bertos.py
diff --git
a/wizard/bertos.py
b/wizard/bertos.py
index ce6bd30f2970f54904a220b8ea4982cc9466d4d1..34b59839094c7b10a36d62c2362928fdd046ee4a 100755
(executable)
--- a/
wizard/bertos.py
+++ b/
wizard/bertos.py
@@
-85,6
+85,8
@@
def newProject():
def editProject(project_file):
info_dict = {}
while(True):
def editProject(project_file):
info_dict = {}
while(True):
+ # Empty project is the default fallback.
+ QApplication.instance().project = BProject()
try:
QApplication.instance().project = BProject(project_file, info_dict)
except VersionException:
try:
QApplication.instance().project = BProject(project_file, info_dict)
except VersionException:
@@
-96,7
+98,7
@@
def editProject(project_file):
dialog = BVersionDialog()
if dialog.exec_():
version = dialog.version_page.currentVersion()
dialog = BVersionDialog()
if dialog.exec_():
version = dialog.version_page.currentVersion()
- info_dict["
SOURCE
S_PATH"] = version
+ info_dict["
BERTO
S_PATH"] = version
continue
except ToolchainException, exc:
QMessageBox.critical(
continue
except ToolchainException, exc:
QMessageBox.critical(