Skip to content

Commit

Permalink
[ListBox] PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Twol committed Oct 2, 2023
1 parent 686436d commit 3596bb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/Components/Renderer/Listbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def setScrollbarMode(self, mode):
if self.instance is not None:
self.instance.setScrollbarMode(int(
{
"showOnDemand": eListbox.showOnDemand,
"showAlways": eListbox.showAlways,
"showNever": eListbox.showNever,
"showOnDemand": eListbox.showOnDemand,
"showAlways": eListbox.showAlways,
"showNever": eListbox.showNever,
}[mode]))

scrollbarMode = property(lambda self: self.__scrollbarMode, setScrollbarMode)
Expand Down

0 comments on commit 3596bb5

Please sign in to comment.