view/filters: forward events on child filters

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/490/head
Manos Pitsidianakis 1 month ago
parent a69122f8b0
commit b1f24cbe95
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -864,6 +864,9 @@ impl Component for ViewFilter {
if let Some(ref mut f) = self.event_handler {
return f(self, event, context);
}
if let ViewFilterContent::InlineAttachments { ref mut parts, .. } = self.body_text {
return parts.iter_mut().any(|p| p.process_event(event, context));
}
false
}

Loading…
Cancel
Save