Ignore:
Timestamp:
04/30/25 15:05:04 (2 days ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The "real" and "extended" ICAO codes of airplanes are distinguished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/pirep.py

    r1079 r1184  
    323323        self._callsign.set_text(bookedFlight.callsign)
    324324        self._tailNumber.set_text(bookedFlight.tailNumber)
    325         aircraftType = xstr("aircraft_" + icaoCodes[bookedFlight.aircraftType].lower())
     325        aircraftType = xstr("aircraft_" + extendedICAOCodes[bookedFlight.aircraftType].lower())
    326326        self._aircraftType.set_text(aircraftType)
    327327
     
    888888        self._callsign.set_text(bookedFlight.callsign)
    889889        self._tailNumber.set_text(bookedFlight.tailNumber)
    890         aircraftType = xstr("aircraft_" + icaoCodes[bookedFlight.aircraftType].lower())
     890        aircraftType = xstr("aircraft_" + extendedICAOCodes[bookedFlight.aircraftType].lower())
    891891        self._aircraftType.set_text(aircraftType)
    892892
Note: See TracChangeset for help on using the changeset viewer.