Thu, 26 Dec 2013 18:35:47 +0100
Fixed a bug in Project.getMainScript.
Debugger/DebugUI.py | file | annotate | diff | comparison | revisions | |
Project/Project.py | file | annotate | diff | comparison | revisions |
--- a/Debugger/DebugUI.py Mon Dec 23 17:52:15 2013 +0100 +++ b/Debugger/DebugUI.py Thu Dec 26 18:35:47 2013 +0100 @@ -1500,7 +1500,7 @@ eraseCoverage = dlg.getCoverageData() if runProject: - fn = self.project.getMainScript(1) + fn = self.project.getMainScript(True) if fn is None: E5MessageBox.critical( self.ui, @@ -1618,7 +1618,7 @@ eraseTimings = dlg.getProfilingData() if runProject: - fn = self.project.getMainScript(1) + fn = self.project.getMainScript(True) if fn is None: E5MessageBox.critical( self.ui, @@ -1738,7 +1738,7 @@ forkAutomatically, forkIntoChild = dlg.getRunData() if runProject: - fn = self.project.getMainScript(1) + fn = self.project.getMainScript(True) if fn is None: E5MessageBox.critical( self.ui,
--- a/Project/Project.py Mon Dec 23 17:52:15 2013 +0100 +++ b/Project/Project.py Thu Dec 26 18:35:47 2013 +0100 @@ -2910,7 +2910,7 @@ if normalized: return os.path.join(self.ppath, self.pdata["MAINSCRIPT"][0]) else: - return self.pdata["MAINSCRIPT"] + return self.pdata["MAINSCRIPT"][0] else: return None