Ignore:
File:
1 edited

Legend:

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

    r496 r480  
    226226        table.attach(label, 0, 1, 8, 9)
    227227        table.attach(self._qnh, 1, 2, 8, 9)
    228 
    229         (label, self._cog) = self._createLabeledEntry("CoG:", 7)
    230         table.attach(label, 2, 3, 8, 9)
    231         table.attach(self._cog, 3, 4, 8, 9)
    232228
    233229        alignment.add(table)
     
    316312            self._adf2.set_text("-")
    317313            self._qnh.set_text("-")
    318             self._cog.set_text("-")
    319314        else:
    320315            self._timestamp.set_text(time.strftime("%H:%M:%S",
     
    391386            self._gearControlDown.set_sensitive(aircraftState.gearControlDown)
    392387            self._gearsDown.set_sensitive(aircraftState.gearsDown)
    393             self._spoilersArmed.set_sensitive(aircraftState.spoilersArmed is True)
     388            self._spoilersArmed.set_sensitive(aircraftState.spoilersArmed)
    394389            self._spoilersExtension.set_text("%.0f" % (aircraftState.spoilersExtension,))
    395390            self._windSpeed.set_text("%.0f" % (aircraftState.windSpeed,))
     
    409404            self._adf1.set_text("-" if aircraftState.adf1 is None else aircraftState.adf1)
    410405            self._adf2.set_text("-" if aircraftState.adf2 is None else aircraftState.adf2)
    411             self._cog.set_text("%.2f%%" % (aircraftState.cog*100.0,))
    412406
    413407#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.