Changeset 815:f3dbb21ba929


Ignore:
Timestamp:
09/25/16 06:32:17 (8 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added function to determine if there are any flights in the list (re #307).

File:
1 edited

Legend:

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

    r814 r815  
    118118            return index
    119119
     120    @property
     121    def hasFlights(self):
     122        """Determine if there are any flights in the list."""
     123        return self._model.get_iter_root() is not None
     124
    120125    def clear(self):
    121126        """Clear the model."""
Note: See TracChangeset for help on using the changeset viewer.