Changeset 242:63061800b9fb for src
- Timestamp:
- 06/10/12 12:37:34 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r241 r242 1985 1985 self._forwardAllowed = False 1986 1986 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 1996 1987 def allowForward(self): 1997 1988 """Allow going to the next page.""" … … 2034 2025 def _forwardClicked(self, button): 2035 2026 """Called when the forward button is clicked.""" 2027 self._wizard.gui.flight.aircraft.updateV1R2() 2036 2028 self._wizard.nextPage() 2037 2029 … … 2206 2198 self._flightEnded = True 2207 2199 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()2223 2200 2224 2201 def _starButtonClicked(self, button): … … 2267 2244 def _forwardClicked(self, button): 2268 2245 """Called when the forward button is clicked.""" 2246 self._wizard.gui.flight.aircraft.updateVRef() 2269 2247 if self._wizard.gui.config.onlineGateSystem and \ 2270 2248 self._wizard.loggedIn and not self._completed and \
Note:
See TracChangeset
for help on using the changeset viewer.