Changeset 218:a6738a42f2ca


Ignore:
Timestamp:
06/02/12 18:40:04 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fixed some problems with starting a new flight

File:
1 edited

Legend:

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

    r216 r218  
    19691969        self._v2.set_sensitive(True)
    19701970        self._button.set_sensitive(False)
     1971        self._forwardAllowed = False
    19711972       
    19721973    def finalize(self):
     
    21452146        return self._vref.get_int()
    21462147
     2148    def reset(self):
     2149        """Reset the page if the wizard is reset."""
     2150        super(LandingPage, self).reset()
     2151        self._flightEnded = False
     2152
    21472153    def activate(self):
    21482154        """Called when the page is activated."""
     
    21852191        self._vref.set_sensitive(False)
    21862192        self._wizard.gui.flight.aircraft.updateVRef()
    2187         # FIXME: Perhaps a separate initialize() call which would set up
    2188         # defaults? -> use reset()
    2189         self._flightEnded = False
    21902193
    21912194    def _starButtonClicked(self, button):
Note: See TracChangeset for help on using the changeset viewer.