diff options
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r-- | framework/qml/MailListView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index 631107e6..f16e726e 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml | |||
@@ -83,7 +83,7 @@ FocusScope { | |||
83 | 83 | ||
84 | Keys.onPressed: { | 84 | Keys.onPressed: { |
85 | //Not implemented as a shortcut because we want it only to apply if we have the focus | 85 | //Not implemented as a shortcut because we want it only to apply if we have the focus |
86 | if (event.text == "d") { | 86 | if (event.text == "d" || event.key == Qt.Key_Delete) { |
87 | Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": root.currentMail}) | 87 | Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": root.currentMail}) |
88 | } else if (event.text == "r") { | 88 | } else if (event.text == "r") { |
89 | Kube.Fabric.postMessage(Kube.Messages.reply, {"mail": root.currentMail}) | 89 | Kube.Fabric.postMessage(Kube.Messages.reply, {"mail": root.currentMail}) |