diff options
Diffstat (limited to 'qml/ComposePane.qml')
-rw-r--r-- | qml/ComposePane.qml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/qml/ComposePane.qml b/qml/ComposePane.qml index 19d2da9..b2fcf88 100644 --- a/qml/ComposePane.qml +++ b/qml/ComposePane.qml @@ -29,6 +29,28 @@ Pane { padding: 0 + Shortcut { + sequence: "Ctrl+S" + onActivated: { + if (sendButton.enabled) { + sendButton.focus = true; + sendButton.clicked(); + sendButton.focus = false; + } + } + } + + Shortcut { + sequence: "Ctrl+O" + onActivated: { + if (attachButton.enabled) { + attachButton.focus = true; + attachButton.clicked(); + attachButton.focus = false; + } + } + } + FileDialog { id: attachFileDialog |