Verified Commit dad4911a authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applet: only allow to copy content in details area

This is consistent with bluedevil.
parent 12b6b085
Pipeline #209930 passed with stage
in 3 minutes and 27 seconds
......@@ -21,7 +21,7 @@ MouseArea {
onPressed: {
const item = detailsGrid.childAt(mouse.x, mouse.y);
if (!item) {
if (!item || !item.isContent) {
return;
}
contextMenu.show(this, item.text, mouse.x, mouse.y);
......
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