From f5c95b026a5476f2771c609bc070a0da55649ef7 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Tue, 3 Aug 2021 13:07:07 +0800 Subject: [PATCH] OffroadHome: update alerts immediately in showEvent (#21808) --- selfdrive/ui/qt/home.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/home.cc b/selfdrive/ui/qt/home.cc index 428b5e202..a6f02bc00 100644 --- a/selfdrive/ui/qt/home.cc +++ b/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); }