summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-21 05:26:20 +0100
committerhut <hut@lavabit.com>2010-01-21 05:26:20 +0100
commit22601e2d7f1851649e7977e04c3857e21681ff7e (patch)
tree12be2aa363372fa46ad2b29fd1fd6cef0bde0662
parent34412eb1918fa51291b2416eba1c00f0b76e7580 (diff)
downloadranger-22601e2d7f1851649e7977e04c3857e21681ff7e.tar.gz
browserview: catch error
-rw-r--r--ranger/gui/widgets/browserview.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index f2798ef8..0f467be2 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -70,12 +70,18 @@ class BrowserView(Widget, DisplayableContainer):
 
 	def finalize(self):
 		if self.pager.visible:
-			self.fm.ui.win.move(self.main_column.y, self.main_column.x)
+			try:
+				self.fm.ui.win.move(self.main_column.y, self.main_column.x)
+			except:
+				pass
 		else:
 			x = self.main_column.x
 			y = self.main_column.y + self.main_column.target.pointer\
 					- self.main_column.scroll_begin
-			self.fm.ui.win.move(y, x)
+			try:
+				self.fm.ui.win.move(y, x)
+			except:
+				pass
 	
 	def _draw_bookmarks(self):
 		self.need_clear = True
r Kartik Agaram <vc@akkartik.com> 2018-07-23 08:49:55 -0700 4390 - check for instruction operand overflow' href='/akkartik/mu/commit/subx/023check_operand_sizes.cc?h=hlt&id=feac887ceb08f29fe4030c06d6ea1787033a19d2'>feac887c ^
90b01a1b ^
7f7d3dcc ^

feac887c ^
7f7d3dcc ^
c442a5ad ^
5fdd09c5 ^

d5f75ffe ^

feac887c ^




431f739d ^
f75c7021 ^
ef790392 ^
071afeff ^

938185b3 ^







071afeff ^




431f739d ^
1b35d4cd ^
1b35d4cd ^
938185b3 ^


83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^








83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^





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