mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Send change event when options are reset
This commit is contained in:
parent
7ea171de4e
commit
53178f35be
@ -174,6 +174,7 @@ class OptManager:
|
|||||||
"""
|
"""
|
||||||
for o in self._options.values():
|
for o in self._options.values():
|
||||||
o.reset()
|
o.reset()
|
||||||
|
self.changed.send(self._options.keys())
|
||||||
|
|
||||||
def update(self, **kwargs):
|
def update(self, **kwargs):
|
||||||
updated = set(kwargs.keys())
|
updated = set(kwargs.keys())
|
||||||
|
Loading…
Reference in New Issue
Block a user