This commit is contained in:
Your Name
2024-05-09 21:23:23 -05:00
parent fbd09ad9bd
commit 7d9065c868
3 changed files with 18 additions and 6 deletions

View File

@@ -88,7 +88,6 @@ void HomeWindow::offroadTransition(bool offroad) {
if (offroad) {
sidebar->setVisible(false);
slayout->setCurrentWidget(ready);
refresh();
// this->showDriverView(true, true); // Temp
} else {
sidebar->setVisible(false);
@@ -266,8 +265,4 @@ void OffroadHome::refresh() {
if (alerts) {
alert_notif->setText(QString::number(alerts) + (alerts > 1 ? tr(" ALERTS") : tr(" ALERT")));
}
if (ready->isVisible()) {
ready->refresh();
}
}