fixed emote input when not in the first char

This commit is contained in:
fourtf 2020-08-23 09:17:19 +02:00
parent ea54b10f1d
commit 391ba5476f

View file

@ -468,7 +468,7 @@ void SplitInput::updateColonMenu()
auto &edit = *this->ui_.textEdit;
auto text = edit.toPlainText();
auto position = edit.textCursor().position();
auto position = edit.textCursor().position() - 1;
if (text.length() == 0)
{