mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-27 15:30:20 +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;
|
bottomMargin: 2 * hifi.layout.spacing;
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
|
id: suggestionsLabel;
|
||||||
text: "Suggestions"
|
text: "Suggestions"
|
||||||
}
|
}
|
||||||
Row {
|
Row {
|
||||||
|
@ -298,6 +299,7 @@ Window {
|
||||||
fill1(s0, filtered[0]);
|
fill1(s0, filtered[0]);
|
||||||
fill1(s1, filtered[1]);
|
fill1(s1, filtered[1]);
|
||||||
fill1(s2, filtered[2]);
|
fill1(s2, filtered[2]);
|
||||||
|
suggestionsLabel.visible = filtered.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fillDestinations() {
|
function fillDestinations() {
|
||||||
|
|
Loading…
Reference in a new issue