Ignore:
Timestamp:
04/17/17 07:12:44 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

All data can be edited in the PIREP editor widget (re #307)

File:
1 edited

Legend:

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

    r834 r845  
    1313from mlx.gui.checklist import ChecklistEditor
    1414from mlx.gui.callouts import ApproachCalloutsEditor
    15 from mlx.gui.pirep import PIREPViewer
     15from mlx.gui.pirep import PIREPViewer, PIREPEditor
    1616from mlx.gui.bugreport import BugReportDialog
    1717from mlx.gui.acars import ACARS
     
    183183
    184184        self._pirepViewer = PIREPViewer(self)
     185
     186        self._pirepEditor = PIREPEditor(self)
    185187
    186188        window.show_all()
     
    12621264    def editPIREP(self, pirep):
    12631265        """Display the PIREP editor window and allow editing the PIREP."""
    1264         self.viewPIREP(pirep)
     1266        self._pirepEditor.setPIREP(pirep)
     1267        self._pirepEditor.show_all()
     1268        self._pirepEditor.run()
     1269        self._pirepEditor.hide()
    12651270
    12661271    def _loadPIREP(self, menuItem):
Note: See TracChangeset for help on using the changeset viewer.