mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:35:04 +02:00
Improve message in connect/share when waiting for IP addresses
This commit is contained in:
parent
421e7c82fa
commit
82550e6ace
1 changed files with 4 additions and 1 deletions
|
|
@ -259,7 +259,10 @@ def set_smartdevice_action_state(self):
|
|||
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…
Reference in a new issue