summaryrefslogtreecommitdiffstats
path: root/src/components/mail/listing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mail/listing.rs')
-rw-r--r--src/components/mail/listing.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/mail/listing.rs b/src/components/mail/listing.rs
index c8b36c27..dcca59a9 100644
--- a/src/components/mail/listing.rs
+++ b/src/components/mail/listing.rs
@@ -709,7 +709,7 @@ impl Component for Listing {
return true;
}
UIEvent::ChangeMode(UIMode::Normal) => {
- self.dirty = true;
+ self.set_dirty(true);
}
UIEvent::Resize => {
self.set_dirty(true);
@@ -1405,6 +1405,8 @@ impl Component for Listing {
| UIEvent::EnvelopeRename(_, _)
| UIEvent::EnvelopeRemove(_, _) => {
self.dirty = true;
+ /* clear menu to force redraw */
+ self.menu_content.empty();
context
.replies
.push_back(UIEvent::StatusEvent(StatusEvent::UpdateStatus(