Changeset 8006:d54a66280f39 in orange


Ignore:
Timestamp:
06/13/11 19:30:58 (3 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
29aad544d3c6a78a76447281798d5a7e07df3021
Message:

Fixed ticket #725 (changing of Method to "Neighbours of focused vertices" upon editing the distance, even if the method was previously "... of selected vertices)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWNetExplorer.py

    r7965 r8006  
    218218        OWGUI.appendRadioButton(ribg, self, "hubs", "Mark neighbours of selected vertices", callback = self.setMarkMode) 
    219219        ib = OWGUI.indentedBox(ribg, orientation = 0) 
    220         self.ctrlMarkDistance = OWGUI.spin(ib, self, "markDistance", 0, 100, 1, label="Distance ", callback=(lambda h=2: self.setMarkMode(h))) 
     220        self.ctrlMarkDistance = OWGUI.spin(ib, self, "markDistance", 0, 100, 1, label="Distance ", callback=(lambda h=2: self.setMarkMode(3 if self.hubs==3 else h))) 
    221221        #self.ctrlMarkFreeze = OWGUI.button(ib, self, "&Freeze", value="graph.freezeNeighbours", toggleButton = True) 
    222222        OWGUI.widgetLabel(ribg, "Mark  vertices with ...") 
Note: See TracChangeset for help on using the changeset viewer.