fix(desktop/chat): Fixed finish editing msg when pressing enter

When in message editing mode was not possible to cofirm edit and
close edit mode when pressing enter key as the clicked signal
of the StatusButton is called without an argument, aparently that
signal has a var mouse parameter. Passed null as parameter to
get the signal emitted.

Closes #4213
This commit is contained in:
Alexandra Betouni 2021-12-01 23:39:58 +02:00 committed by Alexandra Betouni
parent 5608414524
commit 23cb5136f1
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ Item {
isEdit: true
textInput.text: editMessageLoader.sourceText
onSendMessage: {
saveBtn.clicked()
saveBtn.clicked(null)
}
suggestions.onVisibleChanged: {
if (suggestions.visible) {