Disable toolbar mouse area on chat view

This commit is contained in:
Angela Mazzurco 2017-06-23 16:36:36 +02:00
parent c94672118e
commit 37089bb73f

View File

@ -85,6 +85,7 @@ ApplicationWindow
State State
{ {
name: "CHATVIEW" name: "CHATVIEW"
PropertyChanges { target: toolBarText; mouseA.visible: false }
}, },
State State
{ {
@ -124,12 +125,15 @@ ApplicationWindow
Label Label
{ {
property alias mouseA: mouseA
id: toolBarText id: toolBarText
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: imageLoader.right anchors.left: imageLoader.right
anchors.leftMargin: 20 anchors.leftMargin: 20
MouseArea { MouseArea {
id: mouseA
visible: true
anchors.fill: parent anchors.fill: parent
onClicked: { toolBar.openMainPage() } onClicked: { toolBar.openMainPage() }
} }