summary refs log tree commit diff stats
path: root/ranger
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 /ranger
parent943f17ad92014f0fc9708fb3a3e66eeed9985734 (diff)
downloadranger-f3bc52e556867d00fa1ba51f9dc93a2cde75b15b.tar.gz
fixed bug #78: broken preview when deleting all files in a directory
Diffstat (limited to 'ranger')
-rw-r--r--ranger/fsobject/directory.py1
1 files changed, 1 insertions, 0 deletions
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