listing/conversations: redraw selection undo on Esc

pull/234/head
Manos Pitsidianakis 4 years ago
parent 14de776314
commit 51db5b6c2f
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -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