Changeset 8529:ae3f709d7f2c in orange


Ignore:
Timestamp:
07/29/11 17:02:29 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
e98ba6cf567a494b1e71b4210fb989d0030e9c8c
Message:

No tooltips over legend

File:
1 edited

Legend:

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

    r8516 r8529  
    13281328        pos = event.pos() 
    13291329 
    1330         if self.mouseover_callback != None and self.state == PlotState.IDLE: 
     1330        if self.mouseover_callback != None and self.state == PlotState.IDLE and\ 
     1331            (not self.show_legend or not self.legend.contains(pos.x(), pos.y())): 
    13311332            # Use pixel-color-picking to read example index under mouse cursor. 
    13321333            self.tooltip_fbo.bind() 
Note: See TracChangeset for help on using the changeset viewer.