about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2022-05-27 00:05:37 +0200
committertoonn <toonn@toonn.io>2022-05-27 00:33:44 +0200
commit2fbf622751e7abd97ba4843623eb549dfa789c31 (patch)
treea4e8a30bd43e6e8b2d5e2c9075728556e0ebdde3
parent14ec178db8291cf14b5cff933f82e9de75092e90 (diff)
downloadranger-2fbf622751e7abd97ba4843623eb549dfa789c31.tar.gz
browsercolumn: Lowercase line_numbers in key
The `line_numbers` setting is a string but case shouldn't matter,
especially for caching, this is handled in branches already but the
caching key was overlooked.
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 425edf7f..4867d184 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -321,7 +321,7 @@ class BrowserColumn(Pager):  # pylint: disable=too-many-instance-attributes
                    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.settings.line_numbers, linum_text_len)
+                   self.settings.line_numbers.lower(), linum_text_len)
 
             # Check if current line has not already computed and cached
             if key in drawn.display_data: