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

Implemented two-way navigation between the wizard pages.

File:
1 edited

Legend:

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

    r59 r70  
    394394            self._flight.zfw = self._zfwSpinButton.get_value_as_int()
    395395           
    396             self._simulator.startMonitoring()
    397             self._monitoring = True
     396            self.startMonitoring()
    398397        else:
    399398            self.resetFlightStatus()
     
    408407
    409408        self._statusbar.updateConnection(self._connecting, self._connected)
     409
     410    def startMonitoring(self):
     411        """Start monitoring."""
     412        self._simulator.startMonitoring()
     413        self._monitoring = True
     414
     415    def stopMonitoring(self):
     416        """Stop monitoring."""
     417        self._simulator.stoptMonitoring()
     418        self._monitoring = False
    410419
    411420    def _buildSetupFrame(self):
Note: See TracChangeset for help on using the changeset viewer.