Set search icon visibility on core ready

This commit is contained in:
Angela Mazzurco 2017-06-22 17:54:46 +02:00
parent b9d21f004c
commit e7c3a3739e

View File

@ -113,8 +113,8 @@ ApplicationWindow
BtnIcon BtnIcon
{ {
id: searchIcon id: searchIcon
height: parent.height - 10 height: (coreReady)? parent.height - 10 : 0
width: parent.height - 10 width: (coreReady)? parent.height - 10 : 0
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
imgUrl: "qrc:/icons/search.svg" imgUrl: "qrc:/icons/search.svg"
anchors.right: menu.left anchors.right: menu.left
@ -123,6 +123,8 @@ ApplicationWindow
stackView.push("qrc:/Contacts.qml", stackView.push("qrc:/Contacts.qml",
{'searching': true} ) {'searching': true} )
} }
visible: setVisible(coreReady)
} }
MouseArea MouseArea
{ {