Changeset 501:2fd9b3270f6d for src/mlx/gui/gui.py
- Timestamp:
- 04/07/13 07:09:14 (11 years ago)
- Branch:
- xplane
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r496 r501 520 520 self._disconnect() 521 521 522 self._simulator = None 523 522 524 self._flightInfo.reset() 523 525 self._flightInfo.disable() … … 894 896 self._stdioStartingLine = False 895 897 896 def connectSimulator(self, aircraftType ):898 def connectSimulator(self, aircraftType, simulatorType): 897 899 """Connect to the simulator for the first time.""" 898 900 self._logger.reset() … … 905 907 906 908 if self._simulator is None: 907 self._simulator = fs.createSimulator( const.SIM_MSFS9, self)909 self._simulator = fs.createSimulator(simulatorType, self) 908 910 fs.setupMessageSending(self.config, self._simulator) 909 911 self._setupTimeSync()
Note:
See TracChangeset
for help on using the changeset viewer.