From: duplo Date: Mon, 3 May 2010 12:45:58 +0000 (+0000) Subject: Add empty BProject before starting load the project. X-Git-Tag: 2.5.0~315 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=06e17eb0b91869a0afda8a5e50cbe7e120f44534;p=bertos.git Add empty BProject before starting load the project. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3593 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index c53674a9..34b59839 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -85,6 +85,8 @@ def newProject(): 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: