diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-11-02 12:29:39 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-11-02 12:29:39 +0100 |
commit | 09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d (patch) | |
tree | 5df86ed1844c51648db36a88fae324d442b9279f /qml/ComposePane.qml | |
parent | 3ef429a1b6759d6fe84cc44ed7dea51a3c8be799 (diff) | |
download | kdeltachat-09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d.tar.gz kdeltachat-09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d.zip |
Videochat message displayed, rm actions dups
- message.*, qml/Message.qml: Videochat invitation message send from the original DeltaChat
app are displayed. Currently, it's best if the chat instance
use http or https scheme, since it'll normally open in a browser
- qml/ComposePane.qml : We made Shorcuts and actions are needed anymore, no need for duplicates
- qml/main.qml: Fix shortcut help for opening Settings page, it's Shift+Tab not Shift+S.
Diffstat (limited to 'qml/ComposePane.qml')
-rw-r--r-- | qml/ComposePane.qml | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/qml/ComposePane.qml b/qml/ComposePane.qml index b2fcf88..d1140ba 100644 --- a/qml/ComposePane.qml +++ b/qml/ComposePane.qml @@ -84,12 +84,6 @@ Pane { else attachFileDialog.open(); } - - action: Action { - shortcut: "Ctrl+O" - onTriggered: attachButton.click() - } - } TextArea { @@ -129,22 +123,14 @@ Pane { text: qsTr("Send") enabled: messageField.length > 0 | attachFileUrl.length > 0 onClicked: { + sendButton.down = true; let msg = root.createMessage(); root.context.sendMessage(root.chatId, msg); + sendButton.down = false; attachFileUrl = ""; messageField.text = ""; root.context.setDraft(chatId, null); } - - action: Action { - shortcut: "Ctrl+S" - onTriggered: { - if (sendButton.enabled == true) - sendButton.click(); - - } - } - } Button { |