From 42277d6cbeb27b233db06fb63df0cf49ef1cd3a8 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Wed, 21 Sep 2022 11:12:22 +0800 Subject: [PATCH] sidebar: call update in offroadTransition (#25856) old-commit-hash: 90f0f04d2699b3ad85fc980c35719cd95433ee82 --- selfdrive/ui/qt/sidebar.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/qt/sidebar.cc b/selfdrive/ui/qt/sidebar.cc index eeb163aa1..212f19562 100644 --- a/selfdrive/ui/qt/sidebar.cc +++ b/selfdrive/ui/qt/sidebar.cc @@ -74,6 +74,7 @@ void Sidebar::mouseReleaseEvent(QMouseEvent *event) { void Sidebar::offroadTransition(bool offroad) { onroad = !offroad; + update(); } void Sidebar::updateState(const UIState &s) {