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
13 +0100 implemented colorschemes.' href='/akspecs/ranger/commit/ranger.py?h=v1.5.0&id=f027adc08ce0d15717c7694956f23ff637553543'>f027adc0 ^
5c210a96 ^

3de15ddd ^

5c210a96 ^
fb275079 ^

5c210a96 ^
3d566884 ^
e30d16cb ^
3d566884 ^
621a1a39 ^
9bc5d95c ^
c44b726e ^
465bff73 ^




f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
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
51
52
53
54
55
                 
              
 

                                                                 
 











                                                                       
 

                                                                              

                                                                 
     




                                                                

        
 

                                                                

                                                           
 

                                                              
                              
    
                                        
 
                   
                  
                                                              




                                                               
 

              
 
200
committer  hut <hut@lavabit.com>  2010-05-16 16:28:42 +0200

updated pydoc' href='/akspecs/ranger/commit/doc/pydoc/ranger.gui.bar.html?h=v1.8.0&id=ef0157ff37404cf757f57711c62bb352a2971fa6'>ef0157ff ^
4c13e1f2 ^

ef0157ff ^
4c13e1f2 ^




ef0157ff ^
4c13e1f2 ^




















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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222