mail/view: Fix HtmlView not being redrawn when parent is dirty
parent
ed3dbc8586
commit
824f614a69
|
@ -1646,6 +1646,9 @@ impl Component for MailView {
|
|||
match self.mode {
|
||||
ViewMode::Subview if self.subview.is_some() => {
|
||||
if let Some(s) = self.subview.as_mut() {
|
||||
if !s.is_dirty() {
|
||||
s.set_dirty(true);
|
||||
}
|
||||
s.draw(grid, (set_y(upper_left, y), bottom_right), context);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue