diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 458f739bb..1096f04cb 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -562,7 +562,7 @@ class ConsoleMaster(flow.FlowMaster): def focus_current(self): if self.currentflow: try: - self.flow_list_walker.set_focus(self.state.index(self.currentflow)) + self.flow_list_walker.set_focus(self.state.view.index(self.currentflow)) except (IndexError, ValueError): pass