From 44a28601f4e1ab857e75ee4a48f45464f2ff3eff Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 10 Apr 2010 00:53:45 +0200 Subject: widgets.browserview: fixed collapse_preview --- ranger/gui/widgets/browserview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0