From e7c3a3739ed1ec4e746f27fc6bcaa3a673eb2759 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Thu, 22 Jun 2017 17:54:46 +0200 Subject: [PATCH] Set search icon visibility on core ready --- retroshare-qml-app/src/main-app.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/retroshare-qml-app/src/main-app.qml b/retroshare-qml-app/src/main-app.qml index aa86e46f7..c996073dd 100644 --- a/retroshare-qml-app/src/main-app.qml +++ b/retroshare-qml-app/src/main-app.qml @@ -113,8 +113,8 @@ ApplicationWindow BtnIcon { id: searchIcon - height: parent.height - 10 - width: parent.height - 10 + height: (coreReady)? parent.height - 10 : 0 + width: (coreReady)? parent.height - 10 : 0 anchors.verticalCenter: parent.verticalCenter imgUrl: "qrc:/icons/search.svg" anchors.right: menu.left @@ -123,6 +123,8 @@ ApplicationWindow stackView.push("qrc:/Contacts.qml", {'searching': true} ) } + + visible: setVisible(coreReady) } MouseArea {