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
le='author hut <hut@lavabit.com> 2010-01-13 05:51:27 +0100 committer hut <hut@lavabit.com> 2010-01-13 05:51:27 +0100 updated pydoc documentation' href='/akspecs/ranger/commit/doc/pydoc/ranger.gui.widgets.console_mode.html?h=v1.2.2&id=b3556b21e23eb3381b220e0d3319d94b3a89e0ac'>b3556b21 ^
62cd83ba ^






4c13e1f2 ^
























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50