Ignore:
Timestamp:
04/17/17 07:09:50 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

A fault explanation text can be set programmatically.

File:
1 edited

Legend:

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

    r840 r841  
    147147        self._faultExplainWidget.clearFault(id)
    148148
     149    def setExplanation(self, id, explanation):
     150        """Set the explanation of the given fault."""
     151        self._faultExplainWidget.setExplanation(id, explanation)
     152
    149153    def enable(self, aircraftType):
    150154        """Enable the flight info tab."""
Note: See TracChangeset for help on using the changeset viewer.