Browse Source

listing/conversations: redraw selection undo on Esc

master
Manos Pitsidianakis 2 years ago
parent
commit
51db5b6c2f
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 7
      src/components/mail/listing/conversations.rs

7
src/components/mail/listing/conversations.rs

@ -1580,8 +1580,11 @@ impl Component for ConversationsListing {
if !self.unfocused
&& self.selection.values().cloned().any(std::convert::identity) =>
{
for v in self.selection.values_mut() {
*v = false;
for (k, v) in self.selection.iter_mut() {
if *v {
*v = false;
self.row_updates.push(*k);
}
}
self.dirty = true;
return true;

Loading…
Cancel
Save