gui: Only consider nodes on the same canvas when doing 'Select WLAN
members'.
This commit is contained in:
parent
c15d344e1f
commit
69d8ba0002
1 changed files with 3 additions and 0 deletions
|
@ -132,9 +132,12 @@ proc updateRangeCircles { wlan range } {
|
|||
}
|
||||
|
||||
proc linkSelectedNodes { wlan nodes } {
|
||||
set canvas [getNodeCanvas $wlan]
|
||||
|
||||
foreach node $nodes {
|
||||
if { $wlan == $node } { continue } ;# don't link to self
|
||||
if { [ifcByPeer $wlan $node] != "" } { continue } ;# already linked
|
||||
if { [getNodeCanvas $node] != $canvas } { continue }; # on a different canvas
|
||||
newGUILink $wlan $node
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue