From 9c0efdf2ec3843b1140b63a8abcc89b923162f5e Mon Sep 17 00:00:00 2001 From: Choongwoo Han Date: Thu, 8 Oct 2015 11:31:33 +0900 Subject: Refresh flowview instead of reopen the same flowview --- libmproxy/console/flowview.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libmproxy/console') diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index e1156c9f..4304afb5 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -519,12 +519,10 @@ class FlowView(tabs.Tabs): self._w.keypress(size, key) elif key == "a": self.flow.accept_intercept(self.master) - signals.pop_view_state.send(self) - self.master.view_flow(self.flow) + signals.flow_change.send(self, flow = self.flow) elif key == "A": self.master.accept_all() - signals.pop_view_state.send(self) - self.master.view_flow(self.flow) + signals.flow_change.send(self, flow = self.flow) elif key == "d": if self.state.flow_count() == 1: self.master.view_flowlist() -- cgit v1.2.3