mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-24 04:23:47 +08:00
Driving Model Selector: Handle default model name display
This commit is contained in:
@@ -68,7 +68,7 @@ QString SoftwarePanelSP::GetModelName() {
|
||||
return selectedModelToDownload->displayName;
|
||||
}
|
||||
|
||||
if (params.getBool("CustomDrivingModel")) {
|
||||
if (params.getBool("CustomDrivingModel") && QString::fromStdString(params.get("DrivingModelGeneration")) != "0") {
|
||||
return QString::fromStdString(params.get("DrivingModelName"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user