Verified Commit c840409f authored by ivan tkachenko's avatar ivan tkachenko
Browse files

[desktop/package] Fix inconsistent press-to-enter-edit-mode behavior

Just don't intercept mouse events when there is no icon in a folder view
delegate.

BUG: 456994
FIXED-IN: 5.24.7, 5.25.5, 5.26
parent 147c264b
Pipeline #215493 passed with stage
in 5 minutes and 9 seconds
......@@ -33,9 +33,12 @@ Item {
Accessible.name: name
Accessible.role: Accessible.Canvas
MouseArea { anchors.fill: parent } // This MouseArea exists to intercept press and hold;
// preventing edit mode from being triggered
// when pressing and holding on an icon
// This MouseArea exists to intercept press and hold; preventing edit mode
// from being triggered when pressing and holding on an icon (if there is one).
MouseArea {
anchors.fill: parent
visible: !main.blank
}
function openPopup() {
if (isDir) {
......
Supports Markdown
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