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

The landing and takeoff pages remain editable after leaving them

File:
1 edited

Legend:

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

    r241 r242  
    19851985        self._forwardAllowed = False
    19861986       
    1987     def finalize(self):
    1988         """Finalize the page."""
    1989         self._runway.set_sensitive(False)
    1990         self._sid.set_sensitive(False)
    1991         self._v1.set_sensitive(False)
    1992         self._vr.set_sensitive(False)
    1993         self._v2.set_sensitive(False)
    1994         self._wizard.gui.flight.aircraft.updateV1R2()
    1995 
    19961987    def allowForward(self):
    19971988        """Allow going to the next page."""
     
    20342025    def _forwardClicked(self, button):
    20352026        """Called when the forward button is clicked."""
     2027        self._wizard.gui.flight.aircraft.updateV1R2()
    20362028        self._wizard.nextPage()
    20372029
     
    22062198        self._flightEnded = True
    22072199        self._updateForwardButton()
    2208 
    2209     def finalize(self):
    2210         """Finalize the page."""
    2211         self._starButton.set_sensitive(False)
    2212         self._star.set_sensitive(False)
    2213 
    2214         self._transitionButton.set_sensitive(False)
    2215         self._transition.set_sensitive(False)
    2216 
    2217         self._runway.set_sensitive(False)
    2218 
    2219         self._approachType.set_sensitive(False)
    2220 
    2221         self._vref.set_sensitive(False)
    2222         self._wizard.gui.flight.aircraft.updateVRef()
    22232200
    22242201    def _starButtonClicked(self, button):
     
    22672244    def _forwardClicked(self, button):
    22682245        """Called when the forward button is clicked."""
     2246        self._wizard.gui.flight.aircraft.updateVRef()
    22692247        if self._wizard.gui.config.onlineGateSystem and \
    22702248           self._wizard.loggedIn and not self._completed and \
Note: See TracChangeset for help on using the changeset viewer.