about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@hut.pm>2017-12-12 20:03:50 +0100
committerhut <hut@hut.pm>2017-12-12 20:03:50 +0100
commitface63d7e726ab2ed5b5acb0c80dcbd42371802f (patch)
tree3801af089f2ed0923b8bbdc306d5023d3c60a0c6
parent4bbe05f9ac273ed88ec5a53374d2052e9d481b46 (diff)
downloadranger-face63d7e726ab2ed5b5acb0c80dcbd42371802f.tar.gz
core.actions: reload rifle config on fm.reset() / Ctrl+R
-rw-r--r--ranger/core/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 5f8f6c53..e875aca3 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -64,7 +64,7 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
     def reset(self):
         """:reset
 
-        Reset the filemanager, clearing the directory buffer.
+        Reset the filemanager, clearing the directory buffer, reload rifle config
         """
         old_path = self.thisdir.path
         self.previews = {}
@@ -73,6 +73,7 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
         self.change_mode('normal')
         if self.metadata:
             self.metadata.reset()
+        self.rifle.reload_config()
 
     def change_mode(self, mode=None):
         """:change_mode <mode>