diff --git a/Modules/MainScreen/SmartPanel.qml b/Modules/MainScreen/SmartPanel.qml index 1d06371f..6a5d34aa 100644 --- a/Modules/MainScreen/SmartPanel.qml +++ b/Modules/MainScreen/SmartPanel.qml @@ -1037,11 +1037,11 @@ Item { // This prevents closing the panel when clicking inside it MouseArea { anchors.fill: parent + acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton z: -1 // Behind content, but on the panel background - onClicked: { - - // Accept and ignore - prevents propagation to background - } + onClicked: mouse => { + mouse.accepted = true // Accept and ignore - prevents propagation to background + } } }