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

View file

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