mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Refresh flowview instead of reopen the same flowview
This commit is contained in:
parent
45494d1c79
commit
9c0efdf2ec
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user