Fix case of anchors being set on an item in a Layout

This commit is contained in:
Nate Graham
2021-01-08 14:09:04 -07:00
parent 2e0096380f
commit cb57a1ec06

View File

@@ -303,7 +303,8 @@ Kirigami.ScrollablePage {
innerObject: [ innerObject: [
MouseArea { MouseArea {
acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton
anchors.fill: parent Layout.fillWidth: true
Layout.fillHeight: true
onClicked: { onClicked: {
if (mouse.button == Qt.RightButton) { if (mouse.button == Qt.RightButton) {
openMessageContext(author, display, eventId, toolTip); openMessageContext(author, display, eventId, toolTip);