mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
consone: don't enter Options if it's already open
This commit is contained in:
@@ -472,6 +472,9 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
)
|
||||
|
||||
def view_options(self):
|
||||
for i in self.view_stack:
|
||||
if isinstance(i["body"], options.Options):
|
||||
return
|
||||
signals.push_view_state.send(self)
|
||||
self.loop.widget = window.Window(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user