Disable "Send message" button when there's no message to send
This commit is contained in:
@@ -543,6 +543,8 @@ ToolBar {
|
||||
icon.name: "document-send"
|
||||
icon.color: "transparent"
|
||||
|
||||
enabled: inputField.length > 0
|
||||
|
||||
onClicked: {
|
||||
inputField.postMessage()
|
||||
inputField.text = ""
|
||||
|
||||
Reference in New Issue
Block a user