daemon: apply wireless link label even for 0 to force gui update for now
This commit is contained in:
parent
42cd1a1019
commit
543e9982c0
1 changed files with 1 additions and 4 deletions
|
@ -182,10 +182,7 @@ class WirelessNode(CoreNetworkBase):
|
|||
iface.set_config()
|
||||
iface.name, iface.localname = name, localname
|
||||
if options1 == options2:
|
||||
if options1.is_clear():
|
||||
label = ""
|
||||
else:
|
||||
label = f"{options1.loss:.2f}%/{options1.delay}us"
|
||||
label = f"{options1.loss:.2f}%/{options1.delay}us"
|
||||
else:
|
||||
label = (
|
||||
f"({options1.loss:.2f}%/{options1.delay}us) "
|
||||
|
|
Loading…
Reference in a new issue