mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Jump back to correct flow when limit is applied.
This commit is contained in:
parent
a44a76a7da
commit
150814f6a8
@ -562,7 +562,7 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
def focus_current(self):
|
||||
if self.currentflow:
|
||||
try:
|
||||
self.flow_list_walker.set_focus(self.state.index(self.currentflow))
|
||||
self.flow_list_walker.set_focus(self.state.view.index(self.currentflow))
|
||||
except (IndexError, ValueError):
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user