Fix cursor moving to the end when editing in the middle

This commit is contained in:
Nicolas Werner 2022-03-30 07:02:52 +02:00
parent 9e2789a16d
commit 0d9a3ff4cd
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ InputBar::updateState(int selectionStart_,
history_index_ = 0;
updateAtRoom(text_);
emit textChanged(text_);
// disabled, as it moves the cursor to the end
// emit textChanged(text_);
}
selectionStart = selectionStart_;