mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix paste not overwriting selections
This commit is contained in:
parent
84b2cf08a1
commit
3022178334
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ Rectangle {
|
|||
Connections {
|
||||
ignoreUnknownSignals: true
|
||||
onInsertText: {
|
||||
messageInput.remove(messageInput.selectionStart, messageInput.selectionEnd);
|
||||
messageInput.insert(messageInput.cursorPosition, text);
|
||||
}
|
||||
onTextChanged: {
|
||||
|
|
Loading…
Reference in a new issue