Add 'send' button to ChatTextInput
This commit is contained in:
@@ -434,6 +434,21 @@ Control {
|
||||
|
||||
onClicked: emojiPicker.visible = !emojiPicker.visible
|
||||
}
|
||||
ToolButton {
|
||||
Layout.preferredWidth: 48
|
||||
Layout.preferredHeight: 48
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
|
||||
icon.name: "document-send"
|
||||
icon.color: "transparent"
|
||||
|
||||
onClicked: {
|
||||
inputField.postMessage(inputField.text)
|
||||
inputField.text = ""
|
||||
root.clearReply()
|
||||
root.closeAll()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ if(ANDROID)
|
||||
"preferences-desktop-emoticons"
|
||||
"document-open"
|
||||
"document-save"
|
||||
"document-send"
|
||||
"dialog-close"
|
||||
"edit-delete-remove"
|
||||
"code-context"
|
||||
|
||||
Reference in New Issue
Block a user