mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 15:32:07 +08:00
ui: repaint toggles after offroadTransition (#24038)
* repaint after offroadTransition * Update selfdrive/ui/qt/widgets/controls.h Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
QObject::connect(&toggle, &Toggle::stateChanged, this, &ToggleControl::toggleFlipped);
|
||||
}
|
||||
|
||||
void setEnabled(bool enabled) { toggle.setEnabled(enabled); }
|
||||
void setEnabled(bool enabled) { toggle.setEnabled(enabled); toggle.update(); }
|
||||
|
||||
signals:
|
||||
void toggleFlipped(bool state);
|
||||
|
||||
Reference in New Issue
Block a user