Changeset 10919:1a402105dcc8 in orange


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

FR improvements.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Unsupervised/OWNxCanvasQt.py

    r10918 r10919  
    763763 
    764764    def replot(self): 
    765         self.networkCurve.update_properties() 
    766         self.drawComponentKeywords() 
    767         self.set_dirty() 
     765        if hasattr(self, "networkCurve") and self.networkCurve is not None: 
     766            self.networkCurve.update_properties() 
     767            self.drawComponentKeywords() 
     768            #self.set_dirty() 
     769 
    768770        OWPlot.replot(self) 
  • source/orangeqt/networkcurve.cpp

    r10918 r10919  
    844844    foreach (const NodeItem*   node, m_nodes) 
    845845    { 
    846         disp[node->index()] = node->coordinates(); 
     846        //disp[node->index()] = node->coordinates(); 
    847847 
    848848        double x = node->x(); 
Note: See TracChangeset for help on using the changeset viewer.