chore(StatusChatInput): add Esc handler to close reply area
similar to what pressing Esc does when editing a message
This commit is contained in:
parent
c7efcdd09f
commit
bab0fee0ee
|
@ -303,6 +303,9 @@ Rectangle {
|
|||
event.accepted = true
|
||||
messageTooLongDialog.open()
|
||||
}
|
||||
} else if (event.key === Qt.Key_Escape && control.isReply) {
|
||||
control.isReply = false
|
||||
event.accepted = true
|
||||
}
|
||||
|
||||
const symbolPressed = event.text.length > 0 &&
|
||||
|
|
Loading…
Reference in New Issue