Changeset 768:406d3a842fa6


Ignore:
Timestamp:
04/24/16 12:48:41 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added check for the table being None when resetting

File:
1 edited

Legend:

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

    r555 r768  
    375375        for column in columns:
    376376            self._treeView.remove_column(column)
    377         self._eventBox.remove(self._table)
     377        if self._table is not None:
     378            self._eventBox.remove(self._table)
    378379        self._table = None
    379380        self.show_all()
Note: See TracChangeset for help on using the changeset viewer.