From kde-commits Tue Jun 24 10:03:40 2014 From: Marco Martin Date: Tue, 24 Jun 2014 10:03:40 +0000 To: kde-commits Subject: [plasma-desktop] applets/kickoff/package/contents/ui: unselect items after click Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=140360423030928 Git commit 5a02acda36dbd662ead59ea13c5652726f98383d by Marco Martin. Committed on 24/06/2014 at 10:00. Pushed by mart into branch 'master'. unselect items after click don't think is really possible to select the item is actually under the mou= se, this is as near can be gone to a correct behavior CCBUG:336182 M +1 -0 applets/kickoff/package/contents/ui/KickoffItem.qml http://commits.kde.org/plasma-desktop/5a02acda36dbd662ead59ea13c5652726f983= 83d diff --git a/applets/kickoff/package/contents/ui/KickoffItem.qml b/applets/= kickoff/package/contents/ui/KickoffItem.qml index 123e00e..e9ebada 100644 --- a/applets/kickoff/package/contents/ui/KickoffItem.qml +++ b/applets/kickoff/package/contents/ui/KickoffItem.qml @@ -100,6 +100,7 @@ Item { } else { listItem.activate(); } + listItem.ListView.view.currentIndex =3D -1; } else if (mouse.button =3D=3D Qt.RightButton) { // don't show a context menu for container if (hasModelChildren || typeof(contextMenu) =3D=3D= =3D "undefined") {