Ignore:
Timestamp:
04/03/12 16:41:05 (2 years ago)
Author:
mstajdohar
Branch:
default
Message:

Fixes segfault on deleting nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/networkcurve.cpp

    r9378 r10721  
    11271127    NodeItem* node = m_nodes.take(index); 
    11281128    Q_ASSERT(node->index() == index); 
     1129 
     1130    if (node->label != NULL) 
     1131    { 
     1132        remove_label(index); 
     1133        node->label = NULL; 
     1134    } 
     1135 
    11291136    Plot* p = plot(); 
    11301137    if (p) 
Note: See TracChangeset for help on using the changeset viewer.