mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix cursor moving to the end when editing in the middle
This commit is contained in:
parent
9e2789a16d
commit
0d9a3ff4cd
1 changed files with 2 additions and 1 deletions
|
@ -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_;
|
||||||
|
|
Loading…
Reference in a new issue