diff options
author | hut <hut@lavabit.com> | 2010-04-10 00:53:45 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-10 00:53:45 +0200 |
commit | 44a28601f4e1ab857e75ee4a48f45464f2ff3eff (patch) | |
tree | 1f5f08af2aebb303d9f9cc3df392aa3872a0bd77 /ranger | |
parent | 035a39a8a468ba842fd69a2370aba8ac3c1f3d39 (diff) | |
download | ranger-44a28601f4e1ab857e75ee4a48f45464f2ff3eff.tar.gz |
widgets.browserview: fixed collapse_preview
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/browserview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py index 163fd503..7f2ea5fb 100644 --- a/ranger/gui/widgets/browserview.py +++ b/ranger/gui/widgets/browserview.py @@ -264,7 +264,7 @@ class BrowserView(Widget, DisplayableContainer): def poke(self): DisplayableContainer.poke(self) if self.settings.collapse_preview and self.preview: - has_preview = self.columns[-2].has_preview() + has_preview = self.columns[-1].has_preview() if self.preview_available != has_preview: self.preview_available = has_preview self.resize(self.y, self.x, self.hei, self.wid) |