Ignore:
Timestamp:
06/27/12 17:31:51 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The PIREP constructor gets the flight object instead of the GUI

File:
1 edited

Legend:

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

    r242 r262  
    25462546
    25472547        if result==RESPONSETYPE_OK:
    2548             pirep = PIREP(gui)
     2548            pirep = PIREP(gui.flight)
    25492549
    25502550            self._lastSavePath = text2unicode(dialog.get_filename())
     
    26032603    def _sendClicked(self, button):
    26042604        """Called when the Send button is clicked."""
    2605         pirep = PIREP(self._wizard.gui)
     2605        pirep = PIREP(self._wizard.gui.flight)
    26062606        self._wizard.gui.sendPIREP(pirep,
    26072607                                   callback = self._handlePIREPSent)
Note: See TracChangeset for help on using the changeset viewer.