Qml/ModPage: add delete shortcut
This commit is contained in:
parent
2bda69ba4b
commit
4dba9ad425
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ Kirigami.Page {
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: "Delete"
|
text: "Delete"
|
||||||
icon.name: "delete-symbolic"
|
icon.name: "delete-symbolic"
|
||||||
|
shortcut: StandardKey.Delete
|
||||||
onTriggered: deleteConfirmationDialog.open()
|
onTriggered: deleteConfirmationDialog.open()
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue