diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2018-01-30 21:19:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-30 21:19:40 +0100 |
| commit | 02d2ef75060784b1eec9db81e62edf4b058f86fa (patch) | |
| tree | 4b2dda99cff27f4c8aa7b9b38c1faaf9ffea2146 /mitmproxy/tools/console/grideditor/base.py | |
| parent | e117c9e337b27eb6c8bcbd99d3cc8f761e3f7430 (diff) | |
| parent | 4bb22bbe8a9caa4100b50a054dd720b4fdbf0edf (diff) | |
| download | mitmproxy-02d2ef75060784b1eec9db81e62edf4b058f86fa.tar.gz mitmproxy-02d2ef75060784b1eec9db81e62edf4b058f86fa.tar.bz2 mitmproxy-02d2ef75060784b1eec9db81e62edf4b058f86fa.zip | |
Merge pull request #2814 from kajojify/issue-2753
Fix #2753. Fix resetting editings.
Diffstat (limited to 'mitmproxy/tools/console/grideditor/base.py')
| -rw-r--r-- | mitmproxy/tools/console/grideditor/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mitmproxy/tools/console/grideditor/base.py b/mitmproxy/tools/console/grideditor/base.py index cdda3def..204820a8 100644 --- a/mitmproxy/tools/console/grideditor/base.py +++ b/mitmproxy/tools/console/grideditor/base.py @@ -433,7 +433,6 @@ class FocusEditor(urwid.WidgetWrap, layoutwidget.LayoutWidget): def __init__(self, master): self.master = master - self.focus_changed() def call(self, v, name, *args, **kwargs): f = getattr(v, name, None) @@ -462,7 +461,7 @@ class FocusEditor(urwid.WidgetWrap, layoutwidget.LayoutWidget): def layout_popping(self): self.call(self._w, "layout_popping") - def focus_changed(self): + def layout_pushed(self, prev): if self.master.view.focus.flow: self._w = BaseGridEditor( self.master, |
