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:
|
if len(s) == 0:
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
int_value = int(s)
|
int_value = int(s) / 2
|
||||||
if int_value >= 0:
|
if int_value >= 0:
|
||||||
net_range = int_value * self.canvas.ratio
|
net_range = int_value * self.canvas.ratio
|
||||||
if self.canvas_node.id in self.canvas.wireless_network:
|
if self.canvas_node.id in self.canvas.wireless_network:
|
||||||
|
|
Loading…
Add table
Reference in a new issue