From 2fbf622751e7abd97ba4843623eb549dfa789c31 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 27 May 2022 00:05:37 +0200 Subject: 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. --- ranger/gui/widgets/browsercolumn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.4.1-2-gfad0