mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-08 21:35:43 +08:00
Impossible condition
This commit is contained in:
@@ -515,9 +515,7 @@ void DevicePanel::forceoffroad() {
|
||||
}
|
||||
} else {
|
||||
if (ConfirmationDialog::confirm(tr("Are you sure you want to unforce offroad?"), tr("Unforce"), this)) {
|
||||
if (!uiState()->engaged()) {
|
||||
params.remove("ForceOFfroad");
|
||||
}
|
||||
params.remove("ForceOFfroad");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user