ui: show all host choices
This commit is contained in:
parent
b1706fa9e2
commit
dca6b4ba38
|
@ -477,9 +477,8 @@ def _feature_change_host_callback(device):
|
||||||
choices = _NamedInts()
|
choices = _NamedInts()
|
||||||
for host in range(0, numHosts):
|
for host in range(0, numHosts):
|
||||||
paired, hostName = hostNames.get(host, (True, ''))
|
paired, hostName = hostNames.get(host, (True, ''))
|
||||||
if paired:
|
|
||||||
choices[host] = str(host + 1) + ':' + hostName if hostName else str(host + 1)
|
choices[host] = str(host + 1) + ':' + hostName if hostName else str(host + 1)
|
||||||
return _ChoicesV(choices, read_skip_byte_count=1) if choices else None
|
return _ChoicesV(choices, read_skip_byte_count=1) if choices and len(choices) > 1 else None
|
||||||
|
|
||||||
|
|
||||||
def _feature_change_host():
|
def _feature_change_host():
|
||||||
|
|
Loading…
Reference in New Issue