Ignore:
Timestamp:
04/15/17 12:32:05 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

All data is displayed and is editable in the PIREP editor (re #307)

File:
1 edited

Legend:

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

    r768 r833  
    380380        self.show_all()
    381381
     382    def activateCode(self, code):
     383        """Check the checkbox for the given code."""
     384        index = 0
     385        for (type, data) in self._delayCodeData[2]:
     386            if type==DELAYCODE:
     387                if code==data[0].strip():
     388                    self._checkButtons[index].set_active(True)
     389                    break
     390                index += 1
     391
    382392    def _delayCodesChanged(self, button):
    383393        """Called when one of the delay codes have changed."""
Note: See TracChangeset for help on using the changeset viewer.