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

[Notifications] Don't invoke default action on drag if we're dragging

Otherwise dragging a screenshot off a notification will immediately
trigger the default action.
parent bf4dd635
Pipeline #200246 passed with stage
in 7 minutes and 7 seconds
......@@ -117,7 +117,7 @@ PlasmaCore.Dialog {
DropArea {
anchors.fill: parent
onEntered: {
if (notificationPopup.hasDefaultAction) {
if (notificationPopup.hasDefaultAction && !notificationItem.dragging) {
dragActivationTimer.start();
} else {
drag.accepted = false;
......
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