Commit 39989a57 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Notifications: Check for mouse being null in DraggableDelegate

"mouse" can be null if a click was faked by the SelectableLabel
when clicking on the notification body text.
parent 2c078334
Pipeline #231948 passed with stage
in 6 minutes and 46 seconds
......@@ -170,7 +170,8 @@ PlasmaCore.Dialog {
onClicked: {
if (mouse.button === Qt.MiddleButton) {
// NOTE "mouse" can be null when faked by the SelectableLabel
if (mouse && mouse.button === Qt.MiddleButton) {
if (notificationItem.closable) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment