mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Merge pull request #2069 from JordanLoehr/iss2068
Added console_ prefix to options in palettepicker to resolve issue #2068
This commit is contained in:
commit
2b3093fa1c
@ -43,7 +43,7 @@ class PalettePicker(urwid.WidgetWrap):
|
||||
i,
|
||||
None,
|
||||
lambda: self.master.options.console_palette == name,
|
||||
lambda: setattr(self.master.options, "palette", name)
|
||||
lambda: setattr(self.master.options, "console_palette", name)
|
||||
)
|
||||
|
||||
for i in high:
|
||||
@ -59,7 +59,7 @@ class PalettePicker(urwid.WidgetWrap):
|
||||
"Transparent",
|
||||
"T",
|
||||
lambda: master.options.console_palette_transparent,
|
||||
master.options.toggler("palette_transparent")
|
||||
master.options.toggler("console_palette_transparent")
|
||||
)
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user