mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 10:02:06 +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> old-commit-hash: 4802c864d5ccfc606c7392a73ead858a5a2a2bcf
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