Merge pull request #2069 from JordanLoehr/iss2068

Added console_ prefix to options in palettepicker to resolve issue #2068
This commit is contained in:
Maximilian Hils 2017-02-27 05:37:26 +01:00 committed by GitHub
commit 2b3093fa1c

View File

@ -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")
)
]
)