summary refs log tree commit diff
path: root/resources/qml/MessageInput.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-04-15 01:45:18 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-04-15 21:13:53 +0200
commit3022178334fc4ccfc846125c9ee73de26e0389c0 (patch)
tree24c40b2e7f2578a71903b8023416adf7e8975904 /resources/qml/MessageInput.qml
parentSet Dialog flag on Dialogs (diff)
downloadnheko-3022178334fc4ccfc846125c9ee73de26e0389c0.tar.xz
Fix paste not overwriting selections
Diffstat (limited to '')
-rw-r--r--resources/qml/MessageInput.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml

index faf0d442..5aae18b0 100644 --- a/resources/qml/MessageInput.qml +++ b/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: {