From 0118ffbd5d8ec27284019a1a657748eedb7d1686 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 12 Oct 2010 22:15:06 +0200 Subject: core.actions: fix previews of linked files --- ranger/core/actions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ranger/core/actions.py') diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 47560bbe..3382b7b1 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -614,8 +614,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): data['foundpreview'] = False else: data[(-1, -1)] = None - if self.env.cf.path == path: - self.ui.browser.pager.need_redraw = True + if self.env.cf.realpath == path: self.ui.browser.need_redraw = True data['loading'] = False def on_destroy(signal): -- cgit 1.4.1-2-gfad0 Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/html/058to_text.cc.html
blob: 7d2b2bdbf52127201ab52ddea5557b6d9f1ba434 (plain) (blame)
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