From 99e229467bdaec842c1aa58cb0b8adac97f72c3d Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Fri, 15 Jul 2016 11:49:21 -0700 Subject: [PATCH] Don't show the word "suggesions" when there aren't any. --- interface/resources/qml/AddressBarDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/resources/qml/AddressBarDialog.qml b/interface/resources/qml/AddressBarDialog.qml index b9b6e58913..220aa794b9 100644 --- a/interface/resources/qml/AddressBarDialog.qml +++ b/interface/resources/qml/AddressBarDialog.qml @@ -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() {