update status when switching visible

This commit is contained in:
Stephan Dilly 2020-05-24 12:26:00 +02:00
parent d55dc0fe0c
commit 08f4fae235

View file

@ -372,6 +372,7 @@ impl Component for Status {
fn show(&mut self) -> Result<()> {
self.visible = true;
self.update()?;
Ok(())
}