From 585bf9423fdbc17f982088df21240d2e1652df4e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 30 Mar 2012 19:51:40 +1300 Subject: [PATCH] Fix GridEditor external edit functionality. --- libmproxy/console/grideditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py index 221714400..371c8c57a 100644 --- a/libmproxy/console/grideditor.py +++ b/libmproxy/console/grideditor.py @@ -143,7 +143,7 @@ class GridWalker(urwid.ListWalker): def get_current_value(self): if self.lst: - return self.lst[self.focus][self.focus_col] + return self.lst[self.focus][0][self.focus_col] def set_current_value(self, val): row = list(self.lst[self.focus][0])