Changeset 10796:6516880fb239 in orange


Ignore:
Timestamp:
04/18/12 11:14:49 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Bugfix: OWNxExplorer showed incorrect number of selected nodes (always 0).

File:
1 edited

Legend:

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

    r10734 r10796  
    554554 
    555555        def send_data(self): 
     556            selected_nodes = self.networkCanvas.selected_nodes() 
     557            self.nSelected = len(selected_nodes) 
     558 
    556559            if len(self.signalManager.getLinks(self, None, \ 
    557560                "Selected Items", None)) > 0 or \ 
     
    562565 
    563566                # signal connected 
    564                 selected_nodes = self.networkCanvas.selected_nodes() 
    565567                graph = self.graph_base.subgraph(selected_nodes) 
    566568 
Note: See TracChangeset for help on using the changeset viewer.