Changeset 625:363e7cf53546


Ignore:
Timestamp:
04/04/15 10:52:34 (10 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The flight should exist and be at the end for the buttons to be active and PIREP be saved

File:
1 edited

Legend:

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

    r621 r625  
    32803280                       not self._tooBigTimeDifference or \
    32813281                       gui.hasComments or gui.hasDelayCode
    3282         sensitive = self._flightType.get_active()>=0 and \
     3282        sensitive = gui.flight is not None and \
     3283                    gui.flight.stage==const.STAGE_END and \
     3284                    self._flightType.get_active()>=0 and \
    32833285                    (self._gatesModel.get_iter_first() is None or
    32843286                     self._gate.get_active()>=0) and \
Note: See TracChangeset for help on using the changeset viewer.