mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Don't show the word "suggesions" when there aren't any.
This commit is contained in:
parent
8faa961c8d
commit
99e229467b
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@ Window {
|
|||
bottomMargin: 2 * hifi.layout.spacing;
|
||||
}
|
||||
Text {
|
||||
id: suggestionsLabel;
|
||||
text: "Suggestions"
|
||||
}
|
||||
Row {
|
||||
|
@ -298,6 +299,7 @@ Window {
|
|||
fill1(s0, filtered[0]);
|
||||
fill1(s1, filtered[1]);
|
||||
fill1(s2, filtered[2]);
|
||||
suggestionsLabel.visible = filtered.length;
|
||||
}
|
||||
|
||||
function fillDestinations() {
|
||||
|
|
Loading…
Reference in a new issue