Skip to content

Commit

Permalink
Merge pull request #12 from ChungZH/menu
Browse files Browse the repository at this point in the history
feat: more actions in menu
  • Loading branch information
reionwong authored Aug 3, 2021
2 parents e5cfe33 + 1f199ca commit 74b1a2e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions qml/FolderPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 74b1a2e

Please sign in to comment.