client: Fix network name completion
Exclude the network names that are shorter then the query text from the autocompletion network name list.
This commit is contained in:
parent
0d7fbfe523
commit
75b7d18e0c
|
@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (*text)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue