diff options
author | hut <hut@lavabit.com> | 2010-10-12 19:41:32 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-12 19:41:32 +0200 |
commit | f5596d8862ce4d89157eceb5ff030d56e1bc9664 (patch) | |
tree | cd90b0a6988d64809527ade000c295c266bb50d5 | |
parent | 21152271e74d00a458349e05278833a0bd077c2a (diff) | |
download | ranger-f5596d8862ce4d89157eceb5ff030d56e1bc9664.tar.gz |
gui.widgets.pager: bugfix: make sure max_width is defined
-rw-r--r-- | ranger/gui/widgets/pager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index 798c4697..196db499 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -47,6 +47,7 @@ class Pager(Widget): def open(self): self.scroll_begin = 0 self.markup = None + self.max_width = 0 self.startx = 0 self.need_redraw = True |