mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Fix GridEditor external edit functionality.
This commit is contained in:
parent
6dc945571d
commit
585bf9423f
@ -143,7 +143,7 @@ class GridWalker(urwid.ListWalker):
|
|||||||
|
|
||||||
def get_current_value(self):
|
def get_current_value(self):
|
||||||
if self.lst:
|
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):
|
def set_current_value(self, val):
|
||||||
row = list(self.lst[self.focus][0])
|
row = list(self.lst[self.focus][0])
|
||||||
|
Loading…
Reference in New Issue
Block a user