diff options
-rw-r--r-- | ranger/gui/widgets/filelist.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/gui/widgets/filelist.py b/ranger/gui/widgets/filelist.py index 12f0c99a..08a95e18 100644 --- a/ranger/gui/widgets/filelist.py +++ b/ranger/gui/widgets/filelist.py @@ -120,6 +120,9 @@ class FileList(Widget, DisplayableContainer): self.target.use() + if not self.target.load_content_if_outdated(): + self.target.sort_if_outdated() + if not self.target.content_loaded: # if self.target.force_load: # self.target.stopped = False @@ -152,9 +155,6 @@ class FileList(Widget, DisplayableContainer): self.color_reset() return - if not self.target.load_content_if_outdated(): - self.target.sort_if_outdated() - if self.main_display: base_color.append('maindisplay') |