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
commit
08d8c05a67
Signed by: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 2 additions and 0 deletions
  1. +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);
}
}

Loading…
Cancel
Save