Skip to content

Commit

Permalink
Fix ErrorReport.focus_error so that current error gets marked correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jarhart committed Aug 14, 2013
1 parent 05c3d4e commit fae163d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errorreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit fae163d

Please sign in to comment.