mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
fix clear key
This commit is contained in:
parent
807a8eb759
commit
6f3b4eee3c
@ -637,10 +637,11 @@ class FlowView(common.WWrap):
|
|||||||
return self._view_nextprev_flow("prev", flow)
|
return self._view_nextprev_flow("prev", flow)
|
||||||
|
|
||||||
def change_this_display_mode(self, t):
|
def change_this_display_mode(self, t):
|
||||||
key = (self.state.view_flow_mode, "prettyview")
|
self.state.add_flow_setting(
|
||||||
value = contentview.get_by_shortcut(t)
|
self.flow,
|
||||||
if value:
|
(self.state.view_flow_mode, "prettyview"),
|
||||||
self.state.add_flow_setting(self.flow, key, value)
|
contentview.get_by_shortcut(t)
|
||||||
|
)
|
||||||
self.master.refresh_flow(self.flow)
|
self.master.refresh_flow(self.flow)
|
||||||
|
|
||||||
def delete_body(self, t):
|
def delete_body(self, t):
|
||||||
|
Loading…
Reference in New Issue
Block a user