mirror of
https://github.com/QRouland/UTPass.git
synced 2025-06-29 16:52:29 +00:00
Fix build cmake
This commit is contained in:
@ -24,6 +24,7 @@ PageHeader {
|
||||
height: units.gu(4)
|
||||
visible: false
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onFocusChanged: {}
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,8 +35,11 @@ PageHeader {
|
||||
iconName: "search"
|
||||
text: i18n.tr("Search")
|
||||
onTriggered: {
|
||||
searchBar.visible = searchBar.visible ? false : true;
|
||||
labelTitle.visible = labelTitle.visible ? false : true;
|
||||
searchBar.visible = !searchBar.visible;
|
||||
labelTitle.visible = !searchBar.visible;
|
||||
if (searchBar.visible === true) {
|
||||
searchBar.focus = true
|
||||
}
|
||||
}
|
||||
},
|
||||
Action {
|
||||
|
Reference in New Issue
Block a user