pygui fixed wlan drawing range circles using the diameter for the radius
This commit is contained in:
parent
219218eebc
commit
ec8a15794b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class WlanConfigDialog(Dialog):
|
|||
if len(s) == 0:
|
||||
return True
|
||||
try:
|
||||
int_value = int(s)
|
||||
int_value = int(s) / 2
|
||||
if int_value >= 0:
|
||||
net_range = int_value * self.canvas.ratio
|
||||
if self.canvas_node.id in self.canvas.wireless_network:
|
||||
|
|
Loading…
Reference in a new issue