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 {
|
||||
anchors.fill: parent
|
||||
enabled: !!root.messageToPin
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
z: 55
|
||||
onClicked: {
|
||||
if (!!root.messageToPin) {
|
||||
if (!radio.checked)
|
||||
radio.checked = true
|
||||
} else {
|
||||
root.close()
|
||||
root.messageStore.messageModule.jumpToMessage(model.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue