mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
ui: fix prime widget w/ no internet (#21767)
old-commit-hash: 54f1afe403
This commit is contained in:
@@ -268,8 +268,10 @@ SetupWidget::SetupWidget(QWidget* parent) : QFrame(parent) {
|
||||
|
||||
void SetupWidget::parseError(const QString &response) {
|
||||
show();
|
||||
showQr = false;
|
||||
mainLayout->setCurrentIndex(0);
|
||||
if (mainLayout->currentIndex() == 1) {
|
||||
showQr = false;
|
||||
mainLayout->setCurrentIndex(0);
|
||||
}
|
||||
}
|
||||
|
||||
void SetupWidget::showQrCode() {
|
||||
|
||||
Reference in New Issue
Block a user