From 1f199ca9458ee8e3fb2e6b4249bb99da1cf655b2 Mon Sep 17 00:00:00 2001 From: Flex Zhong Date: Tue, 3 Aug 2021 16:02:24 +0800 Subject: [PATCH] feat: more actions in menu --- qml/FolderPage.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index c6da573..5d8d75a 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -76,6 +76,23 @@ Item { text: qsTr("Select All") onTriggered: dirModel.selectAll() } + + MenuSeparator {} + + MenuItem { + text: qsTr("Cut") + onTriggered: dirModel.cut() + } + + MenuItem { + text: qsTr("Copy") + onTriggered: dirModel.copy() + } + + MenuItem { + text: qsTr("Paste") + onTriggered: dirModel.paste() + } } Menu {