From 6a17a3e67b4d41d4dacad8c0a667a2b799ccce0e Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 25 Dec 2019 21:44:39 +0200 Subject: [PATCH] only left click for applets neutral areas activate --- containment/package/contents/ui/applet/AppletItem.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/containment/package/contents/ui/applet/AppletItem.qml b/containment/package/contents/ui/applet/AppletItem.qml index aba23da87..94b70310b 100644 --- a/containment/package/contents/ui/applet/AppletItem.qml +++ b/containment/package/contents/ui/applet/AppletItem.qml @@ -646,7 +646,10 @@ Item { var local = appletItem.mapFromItem(root, pos.x, pos.y); appletItem.mousePressed(local.x, local.y, button); - appletItem.activateAppletForNeutralAreas(local); + + if (button === Qt.LeftButton) { + appletItem.activateAppletForNeutralAreas(local); + } } }