diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index 473e044dd..32bab5cf5 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -268,13 +268,13 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) { QObject::connect(uiState()->prime_state, &PrimeState::changed, [this] (PrimeState::Type type) { pair_device->setVisible(type == PrimeState::PRIME_TYPE_UNPAIRED); }); - QObject::connect(uiState(), &UIState::offroadTransition, [=](bool offroad) { - for (auto btn : findChildren()) { - if (btn != pair_device && btn != resetCalibBtn) { - btn->setEnabled(offroad); - } - } - }); + // QObject::connect(uiState(), &UIState::offroadTransition, [=](bool offroad) { + // for (auto btn : findChildren()) { + // if (btn != pair_device && btn != resetCalibBtn) { + // btn->setEnabled(offroad); + // } + // } + // }); // power buttons QHBoxLayout *power_layout = new QHBoxLayout();