OffroadHome: update alerts immediately in showEvent (#21808)

old-commit-hash: f5c95b026a
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent eb8a334bfc
commit 6ae1a211d9
  1. 2
      selfdrive/ui/qt/home.cc

@ -158,10 +158,10 @@ OffroadHome::OffroadHome(QWidget* parent) : QFrame(parent) {
font-size: 55px;
}
)");
refresh();
}
void OffroadHome::showEvent(QShowEvent *event) {
refresh();
timer->start(10 * 1000);
}

Loading…
Cancel
Save