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.name: "document-send"
|
||||||
icon.color: "transparent"
|
icon.color: "transparent"
|
||||||
|
|
||||||
|
enabled: inputField.length > 0
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
inputField.postMessage()
|
inputField.postMessage()
|
||||||
inputField.text = ""
|
inputField.text = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user