[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-desktop] applets/kickoff/package/contents/ui: unselect items after click
From: Marco Martin <notmart () gmail ! com>
Date: 2014-06-24 10:03:40
Message-ID: E1WzNZk-0007YZ-Ib () scm ! kde ! org
[Download RAW message or body]
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 \
mouse, 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/5a02acda36dbd662ead59ea13c5652726f98383d
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 = -1;
} else if (mouse.button == Qt.RightButton) {
// don't show a context menu for container
if (hasModelChildren || typeof(contextMenu) === \
"undefined") {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic