Changeset 678:227bc487fb5d for src/mlx


Ignore:
Timestamp:
09/17/15 06:55:01 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The pitotHeatOn member variable of the state can be None (re #274)

File:
1 edited

Legend:

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

    r661 r678  
    387387            self._landingLightsOn.set_sensitive(aircraftState.landingLightsOn is True)
    388388
    389             self._pitotHeatOn.set_sensitive(aircraftState.pitotHeatOn)
     389            self._pitotHeatOn.set_sensitive(aircraftState.pitotHeatOn is True)
    390390            self._parking.set_sensitive(aircraftState.parking)
    391391            self._gearControlDown.set_sensitive(aircraftState.gearControlDown)
Note: See TracChangeset for help on using the changeset viewer.