This website works better with JavaScript.
Home
Help
Sign In
meli
/
meli
Watch
4
Star
9
Fork
1
Code
Issues
41
Projects
3
Releases
14
Activity
Browse Source
CompactListing: update self.rows{,_drawn} on row update
self.rows{,_drawn} were left unupdated, and stale envelope hashes could result in panics
tags/alpha-0.6.0
Manos Pitsidianakis
7 months ago
parent
1bac926bdc
commit
08d8c05a67
Signed by:
epilys
GPG Key ID:
73627C2F690DF710
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/components/mail/listing/compact.rs
+ 2
- 0
src/components/mail/listing/compact.rs
View File
@ -1109,6 +1109,8 @@ impl CompactListing {
}
(
false
,
false
)
=
>
{
}
}
*
self
.
rows
.
get_mut
(
idx
)
.
unwrap
(
)
=
(
(
idx
,
(
thread_hash
,
env_hash
)
)
,
strings
)
;
self
.
rows_drawn
.
update
(
idx
,
1
)
;
}
}
Write
Preview
Loading…
Cancel
Save