Commits

riaan  committed 8ae00f8

Extra condition for deciding which page to show. Small code cleanup.

  • Participants
  • Parent commits 7373977

Comments (0)

Files changed (1)

File ErrorStackFrm.py

             selIdx = 0
         elif errorList:
             selIdx = 2
-        else:
+        elif outputList:
             selIdx = 1
+        elif errRaw:
+            selIdx = 2
+
         self.notebook1.SetSelection(selIdx)
         
         return parsedTracebacks
             model.views['Source'].SetFocus()
             model.views['Source'].gotoLine(data.lineNo - 1)
             model.views['Source'].setLinePtr(data.lineNo - 1)
-            self.editor.statusBar.setHint(string.join(data.error, ' : '),
+            self.editor.setStatus(string.join(data.error, ' : '),
                 self.tracebackType)
 #            self.Lower()
 #            self.editor.Raise()