Changeset 11141:185ef1c96a9e in orange


Ignore:
Timestamp:
10/19/12 15:03:02 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed an error calling the wrong parent method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/canvas/items/linkitem.py

    r11138 r11141  
    264264    def hoverEnterEvent(self, event): 
    265265        self.setHoverState(True) 
    266         return QGraphicsPathItem.hoverEnterEvent(self, event) 
     266        return QGraphicsObject.hoverEnterEvent(self, event) 
    267267 
    268268    def hoverLeaveEvent(self, event): 
    269269        self.setHoverState(False) 
    270         return QGraphicsPathItem.hoverLeaveEvent(self, event) 
     270        return QGraphicsObject.hoverLeaveEvent(self, event) 
    271271 
    272272    def boundingRect(self): 
Note: See TracChangeset for help on using the changeset viewer.