diff options
-rw-r--r-- | ranger/core/actions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 04932f3f..26dcf4f7 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -134,8 +134,9 @@ class Actions(FileManagerAware, SettingsAware): cwd = self.thisdir except: pass - cwd.unload() - cwd.load_content() + else: + cwd.unload() + cwd.load_content() def notify(self, text, duration=4, bad=False): """:notify <text> |