summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-27 01:02:21 +0200
committerhut <hut@lavabit.com>2010-04-27 01:02:21 +0200
commitf01ef1a01d07151b5c01df7887a11c9e4c5987f3 (patch)
treeb3371f41dcae5a7fa302a5b365d168693b85ffd6
parent1c456c9312e1e4268228ac827bbd4d522c714a41 (diff)
downloadranger-f01ef1a01d07151b5c01df7887a11c9e4c5987f3.tar.gz
Fixed #85: no automatic reload after using :filter
-rw-r--r--TODO2
-rw-r--r--ranger/defaults/commands.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index e91a1598..c809065c 100644
--- a/TODO
+++ b/TODO
@@ -80,7 +80,7 @@ Bugs
    (X) #73  10/03/21  when clicking on the first column, it goes 1x down
    (X) #74  10/03/21  console doesn't scroll
    (X) #78  10/03/31  broken preview when deleting all files in a directory
-   ( ) #85  10/04/26  no automatic reload of directory after using :filter
+   (X) #85  10/04/26  no automatic reload of directory after using :filter
 
 
 Ideas
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index b53cce62..bfe038c5 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -465,6 +465,7 @@ class filter(Command):
 	def execute(self):
 		line = parse(self.line)
 		self.fm.set_filter(line.rest(1))
+		self.fm.reload_cwd()
 
 
 class grep(Command):