Ignore:
Timestamp:
02/25/12 14:44:45 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Various information about the flight is displayed in the status icon's tooltip or menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r30 r31  
    2929        self._gui = gui
    3030
     31        gui.resetFlightStatus()
     32
    3133        self.cruiseAltitude = None
    3234        self.flareTimeFromFS = False
     
    5759            self._stage = stage
    5860            self.logger.stage(timestamp, stage)
     61            self._gui.setStage(stage)
    5962            if stage==const.STAGE_END:
    6063                with self._endCondition:
     
    7275        the report comes from."""
    7376        self.logger.fault(faultID, timestamp, what, score)
     77        self._gui.setRating(self.logger.getRating())
    7478
    7579    def handleNoGo(self, faultID, timestamp, what, shortReason):
    7680        """Handle a No-Go fault."""
    7781        self.logger.noGo(faultID, timestamp, what)
     82        self._gui.setNoGo(shortReason)
    7883
    7984    def flareStarted(self, flareStart, flareStartFS):
Note: See TracChangeset for help on using the changeset viewer.