OffroadHome: update alerts immediately in showEvent (#21808)

pull/21836/head
Dean Lee 4 years ago committed by GitHub
parent fb028041cd
commit f5c95b026a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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