summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-26 12:42:39 +0200
committerhut <hut@lavabit.com>2010-04-26 20:57:39 +0200
commitf3bc52e556867d00fa1ba51f9dc93a2cde75b15b (patch)
tree8aa98cdb78ef79a13bf6be6a529490e05ddb690c
parent943f17ad92014f0fc9708fb3a3e66eeed9985734 (diff)
downloadranger-f3bc52e556867d00fa1ba51f9dc93a2cde75b15b.tar.gz
fixed bug #78: broken preview when deleting all files in a directory
-rw-r--r--TODO3
-rw-r--r--ranger/fsobject/directory.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index aac244cd..48651888 100644
--- a/TODO
+++ b/TODO
@@ -53,6 +53,7 @@ General
    ( ) #80  10/04/08  when closing tabs, avoid gaps?
    ( ) #81  10/04/15  system crash when previewing /proc/kcore with root permissions
    ( ) #83  10/04/19  better ways to mark files. eg by regexp, filetype,..
+   ( ) #86  10/04/21  narg for move_parent
 
 
 Bugs
@@ -78,7 +79,7 @@ Bugs
    (X) #69  10/03/11  tab-completion breaks with Apps subclass
    (X) #73  10/03/21  when clicking on the first column, it goes 1x down
    (X) #74  10/03/21  console doesn't scroll
-   ( ) #78  10/03/31  broken preview when deleting all files in a directory
+   (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
 
 
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 5c42b0b8..43af772a 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -224,6 +224,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 			self.content_loaded = True
 			self.determine_infostring()
 			self.last_update_time = time()
+			self.correct_pointer()
 
 		finally:
 			self.loading = False