Changeset 102:c0dca4531619 for src


Ignore:
Timestamp:
04/21/12 17:58:30 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed some minor bugs

Location:
src/mlx
Files:
3 edited

Legend:

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

    r101 r102  
    18561856       
    18571857        self._fuelUsed.set_markup("<b>%.0f kg</b>" % \
    1858                                   (flight.endFuel - flight.startFuel,))
     1858                                  (flight.startFuel - flight.endFuel,))
    18591859
    18601860        self._flightType.set_active(-1)
  • src/mlx/gui/info.py

    r99 r102  
    146146        self._flightDefects.get_buffer().set_text("")
    147147
    148         self._loadingProblems.set_active(False)
    149         self._vatsimProblem.set_active(False)
    150         self._netProblems.set_active(False)
    151         self._controllersFault.set_active(False)
    152         self._systemCrash.set_active(False)
    153         self._navigationProblem.set_active(False)
    154         self._trafficProblems.set_active(False)
    155         self._apronProblem.set_active(False)
    156         self._weatherProblems.set_active(False)
    157         self._personalReasons.set_active(False)
     148        for widget in self._delayCodeWidgets:
     149            widget.set_active(False)
  • src/mlx/pirep.py

    r99 r102  
    5959        self.blockTimeEnd = flight.blockTimeEnd
    6060        self.flownDistance = flight.flownDistance
    61         self.fuelUsed = flight.endFuel - flight.startFuel
     61        self.fuelUsed = flight.startFuel - flight.endFuel
    6262
    6363        logger = gui.logger
Note: See TracChangeset for help on using the changeset viewer.