diff options
Diffstat (limited to 'ranger/gui/widgets/browsercolumn.py')
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 12e98386..4de476dc 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -239,8 +239,6 @@ class BrowserColumn(Pager): copied = [f.path for f in self.fm.copy_buffer] - linum_mode_is_set = True - # Set the size of the linum text field to the number of digits in the # number of files in directory. # Setting this to something like the len of (self.scroll_begin + @@ -299,7 +297,7 @@ class BrowserColumn(Pager): space = self.wid # line number field - if linum_mode_is_set: + if self.settings.line_numbers: if self.main_column and space - linum_text_len > 2: linum_format = "{0:>" + str(linum_text_len) + "} " line_number_text = linum_format.format(i) |