pygui fixed wlan drawing range circles using the diameter for the radius

This commit is contained in:
Blake Harnden 2020-04-21 13:11:00 -07:00
parent 219218eebc
commit ec8a15794b

View file

@ -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: