Verified Commit 206f4104 authored by Melvin Keskin's avatar Melvin Keskin Committed by Jonah Brüchert

ChatPage: Move cursor to end of text being corrected

parent 454f14d2
......@@ -489,7 +489,12 @@ ChatPageBase {
messageToCorrect = id
messageField.text = body
messageField.state = "edit"
// Move the cursor to the end of the text being corrected.
messageField.selectAll()
messageField.cursorPosition = messageField.selectionEnd
}
onQuoteRequested: {
var quotedText = ""
var lines = body.split("\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment