Skip to content

Commit

Permalink
Merge pull request commaai#18 from stonerains/patch-1
Browse files Browse the repository at this point in the history
Update settings.cc
  • Loading branch information
jc01rho authored Apr 3, 2021
2 parents 4d10e01 + 298c613 commit 2fbe146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/qt/offroad/settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) {
reset_layout->addWidget(reset_calib_btn);
QObject::connect(reset_calib_btn, &QPushButton::released, [=]() {
if (ConfirmationDialog::confirm("Are you sure you want to reset calibration?")) {
Params().remove("CalibrationParams");
Params().delete_db_value("CalibrationParams");
}
});

Expand Down

0 comments on commit 2fbe146

Please sign in to comment.