Skip to content
Snippets Groups Projects
Verified Commit 30221783 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix paste not overwriting selections

parent 84b2cf08
No related branches found
No related tags found
No related merge requests found
Pipeline #988 passed
......@@ -274,6 +274,7 @@ Rectangle {
Connections {
ignoreUnknownSignals: true
onInsertText: {
messageInput.remove(messageInput.selectionStart, messageInput.selectionEnd);
messageInput.insert(messageInput.cursorPosition, text);
}
onTextChanged: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment