Changeset 8622:946d6c838d45 in orange


Ignore:
Timestamp:
08/06/11 09:00:06 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
26b6e141384d7df81c3a9f7327150450114b8acf
Message:

Set font size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeplot/networkcurve.cpp

    r8607 r8622  
    3434    Point::paint(painter, option, widget); 
    3535 
    36     if (m_label.compare("") != 0) 
     36    NetworkCurve *curve = (NetworkCurve*)parentItem(); 
     37    bool on_marked_only = curve->labels_on_marked_only(); 
     38 
     39    if (m_label.compare("") != 0 && (!on_marked_only || is_marked())) 
    3740    { 
    3841        QFontMetrics metrics = painter->fontMetrics(); 
Note: See TracChangeset for help on using the changeset viewer.