Ignore:
Timestamp:
12/23/14 06:02:25 (10 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the handling of the 'Forward' buttons (re #235)

File:
1 edited

Legend:

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

    r587 r588  
    19781978        self._metar.get_buffer().set_text(metar)
    19791979        self._updatingMETAR = False
     1980
     1981        self._updateButton()
    19801982        self.metarEdited = True
    19811983
     
    23732375            self._updatingMETAR = False
    23742376
     2377            self._updateForwardButton()
     2378
    23752379    def _updateForwardButton(self):
    23762380        """Update the sensitivity of the forward button based on some conditions."""
    23772381
    23782382        sensitive = self._forwardAllowed and \
     2383                    self._metar.get_text()!="" and \
    23792384                    self._runway.get_text()!="" and \
    23802385                    self._sid.get_text()!="" and \
Note: See TracChangeset for help on using the changeset viewer.