about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-12-11 22:38:36 +0100
committerhut <hut@lavabit.com>2010-12-11 22:38:36 +0100
commita30885773f28e93b8bbe716a4ba444e90e3ba4d8 (patch)
tree9025c374841661190b1a34387f70c0bc00f57a0c
parent9e89f023907589291fa984e5caf099a8dc34733f (diff)
downloadranger-a30885773f28e93b8bbe716a4ba444e90e3ba4d8.tar.gz
fsobject.fsobject: Update previews when file changes
-rw-r--r--ranger/fsobject/fsobject.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index f9b023d7..bf71ac94 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -181,6 +181,7 @@ class FileSystemObject(FileManagerAware):
 		filesystem and caches it for later use
 		"""
 
+		self.fm.update_preview(self.path)
 		self.loaded = True
 
 		# Get the stat object, either from preload or from [l]stat