Fix input focus when pressing reply button

This commit is contained in:
Nicolas Werner 2020-11-25 17:38:06 +01:00
parent c74077a41f
commit 08e9461611
5 changed files with 5 additions and 0 deletions

View file

@ -79,6 +79,7 @@ Rectangle {
placeholderTextColor: colors.buttonText
color: colors.text
wrapMode: TextEdit.Wrap
focus: true
onTextChanged: TimelineManager.timeline.input.updateState(selectionStart, selectionEnd, cursorPosition, text)
onCursorPositionChanged: {
TimelineManager.timeline.input.updateState(selectionStart, selectionEnd, cursorPosition, text);