From 647bd73446f1645952d7f952da2491edae54f8a5 Mon Sep 17 00:00:00 2001 From: infiniteCable2 Date: Mon, 29 Sep 2025 17:22:05 +0200 Subject: [PATCH] Update settings.h --- selfdrive/ui/qt/offroad/settings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selfdrive/ui/qt/offroad/settings.h b/selfdrive/ui/qt/offroad/settings.h index 501a9732c..8ce3a0c9c 100644 --- a/selfdrive/ui/qt/offroad/settings.h +++ b/selfdrive/ui/qt/offroad/settings.h @@ -21,6 +21,7 @@ #define ButtonParamControl ButtonParamControlSP #define ToggleControl ToggleControlSP #define LabelControl LabelControlSP + #else #include "selfdrive/ui/ui.h" #include "selfdrive/ui/qt/widgets/controls.h" @@ -81,8 +82,10 @@ public slots: void scrollToToggle(const QString ¶m); protected: + void showEvent(QShowEvent *event) override; Params params; std::map toggles; + OptionControlSP *steer_offset_control = nullptr; }; class TogglesPanel : public ListWidget {