listing/conversations: redraw selection undo on Esc

master
Manos Pitsidianakis 2020-09-12 23:08:09 +03:00
parent 14de776314
commit 51db5b6c2f
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 5 additions and 2 deletions

View File

@ -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() {
for (k, v) in self.selection.iter_mut() {
if *v {
*v = false;
self.row_updates.push(*k);
}
}
self.dirty = true;
return true;