Changeset 8453:7381c256ec56 in orange


Ignore:
Timestamp:
07/25/11 18:50:20 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
f82b5be8a505fdc93226b9d2d3c137b1204239e8
Message:

Remove all legend items in OWLegend.clear()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owlegend.py

    r8452 r8453  
    5555        self._center_point = None 
    5656 
    57          
    5857    def clear(self): 
    59         self.curves = [] 
    60         self.point_attrs = {} 
    61         self.point_vals = {} 
     58        self.items = [] 
    6259        self.update() 
    6360         
Note: See TracChangeset for help on using the changeset viewer.