Ignore:
Timestamp:
06/17/12 16:42:22 (22 months ago)
Author:
mstajdohar
Branch:
default
Message:

Added missing cancel_all_updates() to more functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/networkcurve.cpp

    r10926 r10928  
    11801180void NetworkCurve::add_edges(const NetworkCurve::Edges& edges) 
    11811181{ 
     1182    cancel_all_updates(); 
    11821183    m_edges.append(edges); 
    11831184} 
     
    11851186void NetworkCurve::add_nodes(const NetworkCurve::Nodes& nodes) 
    11861187{ 
     1188    cancel_all_updates(); 
     1189 
    11871190    Nodes::ConstIterator it = nodes.constBegin(); 
    11881191    Nodes::ConstIterator end = nodes.constEnd(); 
     
    12051208void NetworkCurve::set_node_colors(const QMap<int, QColor>& colors) 
    12061209{ 
     1210    cancel_all_updates(); 
     1211 
    12071212    QMap<int, QColor>::ConstIterator it; 
    12081213    for (it = colors.constBegin(); it != colors.constEnd(); ++it) 
Note: See TracChangeset for help on using the changeset viewer.