mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 18:11:54 +00:00
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:
parent
5608414524
commit
23cb5136f1
@ -379,7 +379,7 @@ Item {
|
||||
isEdit: true
|
||||
textInput.text: editMessageLoader.sourceText
|
||||
onSendMessage: {
|
||||
saveBtn.clicked()
|
||||
saveBtn.clicked(null)
|
||||
}
|
||||
suggestions.onVisibleChanged: {
|
||||
if (suggestions.visible) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user