summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-18 17:01:01 +0100
committerhut <hut@lavabit.com>2013-02-18 17:01:01 +0100
commit798c94a66b879463a1b27596171dde743ede795b (patch)
tree7ff09989db5f73bb2f9b2dd2e55f4bb3438d47b6
parent5d688c6039ddf39b6a32c808aa18450f3e9ef9be (diff)
downloadranger-798c94a66b879463a1b27596171dde743ede795b.tar.gz
widgets.pager: fix redrawing when scrolling
-rw-r--r--ranger/gui/widgets/pager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index 98c434b4..83b2e6f9 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -71,8 +71,10 @@ class Pager(Widget):
                 self.old_startx != self.startx:
             self.old_startx = self.startx
             self.old_scroll_begin = self.scroll_begin
+            self.need_redraw = True
 
         if self.need_redraw:
+            self.win.erase()
             self.need_redraw_image = True
             self.clear_image()