mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 20:34:25 -04:00
Set search icon visibility on core ready
This commit is contained in:
parent
b9d21f004c
commit
e7c3a3739e
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue