Changeset 1904:e999c567f146 in orange-bioinformatics


Ignore:
Timestamp:
11/11/13 17:39:52 (5 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed an error when removing widget inputs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orangecontrib/bio/widgets/OWVennDiagram.py

    r1903 r1904  
    129129                # Update existing item 
    130130                self._update(key, data) 
    131         else: 
     131        elif data is not None: 
    132132            # TODO: Allow setting more them 5 inputs and let the user 
    133133            # select the 5 to display. 
     
    230230            box.setTitle(title) 
    231231 
    232         self._invalidate(None, incremental=False) 
     232        self._invalidate([key], incremental=False) 
    233233 
    234234    def _update(self, key, table): 
Note: See TracChangeset for help on using the changeset viewer.