Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9b25a95c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Nate Graham

[Kickoff] Fix context menu not appearing on right-click

Summary: Right-clicking on list items to bring up a context menu broke with 	48b32259. This fixes it. Thanks to @broulik for finding this; I'm submitting it on his behalf because he's super busy right now.

Test Plan: Right-click on a list item in Kickoff -> now a context menu appears

Reviewers: #plasma, hein, broulik, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D16697
parent 8a74e732
......@@ -112,7 +112,7 @@ FocusScope {
if (mouse.buttons & Qt.RightButton) {
if (item.hasActionList) {
mapped = listView.contentItem.mapToItem(item, mapped.x, mapped.y);
openActionMenu(mapped.x, mapped.y);
listView.currentItem.openActionMenu(mapped.x, mapped.y);
}
} else {
pressed = item;
......
Markdown is supported
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