Nothing happens after clicking on a pinned message
implement jumping to message on a simple click Fixes #9365
This commit is contained in:
parent
1cc1b8a1b7
commit
78f4560a54
|
@ -111,12 +111,16 @@ StatusDialog {
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
enabled: !!root.messageToPin
|
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
z: 55
|
z: 55
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!radio.checked)
|
if (!!root.messageToPin) {
|
||||||
radio.checked = true
|
if (!radio.checked)
|
||||||
|
radio.checked = true
|
||||||
|
} else {
|
||||||
|
root.close()
|
||||||
|
root.messageStore.messageModule.jumpToMessage(model.id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue