Changeset 717:b6904f6488a4
- Timestamp:
- 10/25/15 19:09:53 (9 years ago)
- Branch:
- cef
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r714 r717 1961 1961 print "plan:", plan 1962 1962 1963 takeoffRunway = self._takeoffRunway.get_text() 1964 if takeoffRunway: 1965 self._wizard.takeoffRunway = takeoffRunway 1966 1967 landingRunway = self._landingRunway.get_text() 1968 if landingRunway: 1969 self._wizard.landingRunway = landingRunway 1970 1963 1971 self._userName.set_sensitive(False) 1964 1972 self._password.set_sensitive(False) … … 3003 3011 self._updatingMETAR = False 3004 3012 3005 self._runway.set_text("") 3013 if self._wizard.takeoffRunway is None: 3014 self._runway.set_text("") 3015 else: 3016 self._runway.set_text(self._wizard.takeoffRunway) 3006 3017 self._runway.set_sensitive(True) 3007 3018 self._sid.set_active(0) … … 3562 3573 self._transition.set_sensitive(True) 3563 3574 3564 self._runway.set_text("") 3575 if self._wizard.landingRunway is None: 3576 self._runway.set_text("") 3577 else: 3578 self._runway.set_text(self._wizard.landingRunway) 3565 3579 self._runway.set_sensitive(True) 3566 3580 … … 4588 4602 self._arrivalMETAR = None 4589 4603 self._usingSimBrief = None 4604 self.takeoffRunway = None 4605 self.landingRunway = None 4590 4606 4591 4607 firstPage = 0 if self._loginResult is None else 1
Note:
See TracChangeset
for help on using the changeset viewer.