summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 20:15:28 +0200
committerMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 20:15:28 +0200
commitf9f2a9551f9c83b9924e998704d3cced80c6e80e (patch)
treeed928dc690f68deedcfa2223d2542d667126900f /ranger
parent502ceb31e1f957b2d21e7f3dd38ecf284bde207d (diff)
downloadranger-f9f2a9551f9c83b9924e998704d3cced80c6e80e.tar.gz
Add self.settings.line_numbers to key
This avoids badly cached display_data when changing the setting in a
running program.
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 5a72d1b9..cbd2f0ab 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -275,7 +275,8 @@ class BrowserColumn(Pager):
             key = (self.wid, selected_i == i, drawn.marked, self.main_column,
                    drawn.path in copied, tagged_marker, drawn.infostring,
                    drawn.vcsstatus, drawn.vcsremotestatus, self.target.has_vcschild,
-                   self.fm.do_cut, current_linemode.name, metakey, active_pane)
+                   self.fm.do_cut, current_linemode.name, metakey, active_pane,
+                   self.settings.line_numbers)
 
             if key in drawn.display_data:
                 self.execute_curses_batch(line, drawn.display_data[key])