Ignore:
Timestamp:
05/21/18 14:15:25 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Basic functions work with the new website (re #332)

File:
1 edited

Legend:

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

    r899 r908  
    22752275        aircraft = self._wizard.gui._flight.aircraft
    22762276
    2277         numCrew = bookedFlight.numCrew
    2278         numCockpitCrew = min(numCrew, aircraft.dowCockpit)
    2279         numCabinCrew = numCrew - numCockpitCrew
     2277        numCockpitCrew = bookedFlight.numCockpitCrew
     2278        numCabinCrew = bookedFlight.numCabinCrew
     2279        numCrew = numCockpitCrew + numCabinCrew
    22802280
    22812281        self._numCockpitCrew.set_int(numCockpitCrew)
Note: See TracChangeset for help on using the changeset viewer.