Add "Copy source".

This commit is contained in:
Black Hat 2018-08-05 04:23:49 +08:00
parent 085601f650
commit 2b01613161
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ Item {
text: "Copy" text: "Copy"
onTriggered: matriqueController.copyToClipboard(plainText) onTriggered: matriqueController.copyToClipboard(plainText)
} }
MenuItem {
text: "Copy Source"
onTriggered: matriqueController.copyToClipboard(toolTip)
}
MenuItem { MenuItem {
visible: isFile visible: isFile
height: visible ? undefined : 0 height: visible ? undefined : 0