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