mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve message in connect/share when waiting for IP addresses
This commit is contained in:
parent
421e7c82fa
commit
82550e6ace
@ -259,7 +259,10 @@ class ConnectShareAction(InterfaceAction):
|
||||
show_port = True
|
||||
else:
|
||||
all_ips = get_all_ip_addresses()
|
||||
if len(all_ips) > 3:
|
||||
if len(all_ips) == 0:
|
||||
formatted_addresses = _('Still looking for IP addresses')
|
||||
show_port = False
|
||||
elif len(all_ips) > 3:
|
||||
formatted_addresses = _('Many IP addresses. See Start/Stop dialog.')
|
||||
show_port = False
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user