ADSB retrieve_record just-in-case check (#1848)

This commit is contained in:
Mark Thompson
2024-02-05 13:13:06 -06:00
committed by GitHub
parent f2c008602d
commit bc035cff6a
2 changed files with 7 additions and 0 deletions

View File

@@ -199,6 +199,10 @@ ADSBRxAircraftDetailsView::ADSBRxAircraftDetailsView(
}
break;
case DATABASE_RECORD_NOT_FOUND:
// Defaults should be filled by the constructor
break;
case DATABASE_NOT_FOUND:
text_manufacturer.set("No icao24.db file");
break;