Fix paste not overwriting selections

pull/554/head
Nicolas Werner 4 years ago
parent 84b2cf08a1
commit 3022178334
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      resources/qml/MessageInput.qml

@ -274,6 +274,7 @@ Rectangle {
Connections {
ignoreUnknownSignals: true
onInsertText: {
messageInput.remove(messageInput.selectionStart, messageInput.selectionEnd);
messageInput.insert(messageInput.cursorPosition, text);
}
onTextChanged: {

Loading…
Cancel
Save