diff options
author | Philip Matura <philip.matura@gmx.de> | 2019-10-06 18:40:49 +0200 |
---|---|---|
committer | Philip Matura <philip.matura@gmx.de> | 2019-10-09 15:51:02 +0200 |
commit | 9534bf0feee08ab50778cb599074e47c8a786b4e (patch) | |
tree | d6191d6b9deb58a17b0085722c5199ad498c44ab | |
parent | e3a28fe0cf6c1561bdf1b7851778e673696b5c4f (diff) | |
download | urwid-9534bf0feee08ab50778cb599074e47c8a786b4e.tar.gz |
Fix .pack call in Columns.column_widths
-rwxr-xr-x | urwid/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/container.py b/urwid/container.py index ed4ee59..0ba4e8d 100755 --- a/urwid/container.py +++ b/urwid/container.py @@ -2014,7 +2014,7 @@ class Columns(Widget, WidgetContainerMixin, WidgetContainerListContentsMixin): elif t == PACK: # FIXME: should be able to pack with a different # maxcol value - static_w = w.pack((maxcol,), focus)[0] + static_w = w.pack((maxcol,), focus and i == self.focus_position)[0] else: static_w = self.min_width |