mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Prevent flowview from creating duplicated windows
This commit is contained in:
parent
ce38a05a20
commit
45494d1c79
@ -519,9 +519,11 @@ class FlowView(tabs.Tabs):
|
|||||||
self._w.keypress(size, key)
|
self._w.keypress(size, key)
|
||||||
elif key == "a":
|
elif key == "a":
|
||||||
self.flow.accept_intercept(self.master)
|
self.flow.accept_intercept(self.master)
|
||||||
|
signals.pop_view_state.send(self)
|
||||||
self.master.view_flow(self.flow)
|
self.master.view_flow(self.flow)
|
||||||
elif key == "A":
|
elif key == "A":
|
||||||
self.master.accept_all()
|
self.master.accept_all()
|
||||||
|
signals.pop_view_state.send(self)
|
||||||
self.master.view_flow(self.flow)
|
self.master.view_flow(self.flow)
|
||||||
elif key == "d":
|
elif key == "d":
|
||||||
if self.state.flow_count() == 1:
|
if self.state.flow_count() == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user