From fae163d283ed32a34a9f2884d6a8bcebd3ae880e Mon Sep 17 00:00:00 2001 From: Jason Arhart Date: Tue, 13 Aug 2013 18:07:25 -0700 Subject: [PATCH] Fix ErrorReport.focus_error so that current error gets marked correctly --- errorreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errorreport.py b/errorreport.py index 80189e0..17211fd 100644 --- a/errorreport.py +++ b/errorreport.py @@ -42,7 +42,7 @@ def all_errors(self): def focus_error(self, error): for i, e in enumerate(self.all_errors()): if e == error: - self._index = i + self._set_current(i) def next_error(self): sorted_errors = list(self.all_errors())