diff options
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r-- | framework/qml/MailListView.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index a8322f15..46d3146a 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml | |||
@@ -130,9 +130,11 @@ FocusScope { | |||
130 | } | 130 | } |
131 | 131 | ||
132 | Keys.onPressed: { | 132 | Keys.onPressed: { |
133 | //Not implemented as a shortcut because we want it only to apply if we have the focus | ||
133 | if (event.text == "d") { | 134 | if (event.text == "d") { |
134 | //Not implemented as a shortcut because we want it only to apply if we have the focus | ||
135 | Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": root.currentMail}) | 135 | Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": root.currentMail}) |
136 | } else if (event.text == "r") { | ||
137 | Kube.Fabric.postMessage(Kube.Messages.reply, {"mail": root.currentMail}) | ||
136 | } | 138 | } |
137 | } | 139 | } |
138 | 140 | ||