Commit 6f19967d authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Folder View] Replay mouse click so left button containment actions work

When we don't initiate a rubber band selection, replay the mouse event so containment actions assigned to the left mouse button work.

BUG: 357367

Differential Revision: https://phabricator.kde.org/D6552
parent 95efcd38
......@@ -310,6 +310,8 @@ Item {
}
if (!hoveredItem || hoveredItem.blank || gridView.currentIndex == -1 || gridView.ctrlPressed || gridView.shiftPressed) {
// Bug 357367: Replay mouse event, so containment actions assigned to left mouse button work.
eventGenerator.sendMouseEvent(plasmoid, EventGenerator.MouseButtonPress, mouse.x, mouse.y, mouse.button, mouse.buttons, mouse.modifiers);
return;
}
......
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