Changeset 777:16847856b207 for src/mlx/gui
- Timestamp:
- 05/22/16 06:22:03 (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r772 r777 4418 4418 clickedArg = page) 4419 4419 4420 def autoSavePIREP(self ):4420 def autoSavePIREP(self, page): 4421 4421 """Perform the automatic saving of the PIREP.""" 4422 4422 self._lastSavePath = os.path.join(self._wizard.gui.config.pirepDirectory, 4423 4423 self._getDefaultPIREPName()) 4424 4424 self._lastSavePath = text2unicode(self._lastSavePath) 4425 self._savePIREP( automatic = True)4425 self._savePIREP(page, automatic = True) 4426 4426 4427 4427 def _getDefaultPIREPName(self): … … 4498 4498 dialog.run() 4499 4499 dialog.hide() 4500 4501 return pirepSaved4502 4500 4503 4501 def _getSaveDialog(self): … … 4828 4826 if gui.config.pirepAutoSave and sensitive and not wasSensitive: 4829 4827 if gui.isWizardActive(): 4830 self._saveHelper.autoSavePIREP( )4828 self._saveHelper.autoSavePIREP(self) 4831 4829 else: 4832 4830 self._deferredAutoSave = True … … 4843 4841 super(FinishPage, self).grabDefault() 4844 4842 if self._deferredAutoSave: 4845 self._saveHelper.autoSavePIREP( )4843 self._saveHelper.autoSavePIREP(self) 4846 4844 self._deferredAutoSave = False 4847 4845
Note:
See TracChangeset
for help on using the changeset viewer.