From 8feebcbf8e7b915c8f5ec82b4e5dd58204dcd1ea Mon Sep 17 00:00:00 2001 From: Marcelo Glezer Date: Wed, 18 Mar 2015 12:56:12 -0300 Subject: [PATCH] fix for #522 --- libmproxy/console/flowdetailview.py | 2 +- libmproxy/console/help.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmproxy/console/flowdetailview.py b/libmproxy/console/flowdetailview.py index 4164c4167..f351bff10 100644 --- a/libmproxy/console/flowdetailview.py +++ b/libmproxy/console/flowdetailview.py @@ -21,7 +21,7 @@ class FlowDetailsView(urwid.ListBox): self.master.statusbar = self.state[0] self.master.body = self.state[1] self.master.header = self.state[2] - self.master.make_view() + self.master.loop.widget = self.master.make_view() return None elif key == "?": key = None diff --git a/libmproxy/console/help.py b/libmproxy/console/help.py index fddab5378..6bb49a921 100644 --- a/libmproxy/console/help.py +++ b/libmproxy/console/help.py @@ -183,7 +183,7 @@ class HelpView(urwid.ListBox): self.master.statusbar = self.state[0] self.master.body = self.state[1] self.master.header = self.state[2] - self.master.make_view() + self.master.loop.widget = self.master.make_view() return None elif key == "?": key = None