Ignore:
Timestamp:
08/18/12 09:30:21 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Cruise level changes are logged

Location:
src/mlx/gui
Files:
2 edited

Legend:

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

    r303 r304  
    17351735        """Called when the cruise level has changed."""
    17361736        self._updateForwardButton()
     1737        self._wizard.cruiseLevelChanged()
    17371738
    17381739    def _routeChanged(self, textBuffer):
     
    30843085        """Reload the flights from the MAVA server."""
    30853086        self.login(callback, None, None, None)
     3087
     3088    def cruiseLevelChanged(self):
     3089        """Called when the cruise level is changed."""
     3090        self.gui.cruiseLevelChanged()
    30863091
    30873092    def _loginResultCallback(self, returned, result):
  • src/mlx/gui/gui.py

    r303 r304  
    858858            self.simulator.stopMonitoring()
    859859            self._monitoring = False
     860
     861    def cruiseLevelChanged(self):
     862        """Called when the cruise level is changed in the flight wizard."""
     863        if self._flight is not None:
     864            self._flight.cruiseLevelChanged()
    860865
    861866    def _buildMenuBar(self, accelGroup):
Note: See TracChangeset for help on using the changeset viewer.