diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index a963924ee..a3a8aa426 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -73,6 +73,8 @@ class ConsoleState(flow.State): elif idx < 0: idx = 0 self.focus = idx + else: + self.focus = None def set_focus_flow(self, f): self.set_focus(self.view.index(f))