Fix paste not overwriting selections
This commit is contained in:
parent
84b2cf08a1
commit
3022178334
@ -274,6 +274,7 @@ Rectangle {
|
||||
Connections {
|
||||
ignoreUnknownSignals: true
|
||||
onInsertText: {
|
||||
messageInput.remove(messageInput.selectionStart, messageInput.selectionEnd);
|
||||
messageInput.insert(messageInput.cursorPosition, text);
|
||||
}
|
||||
onTextChanged: {
|
||||
|
Loading…
Reference in New Issue
Block a user