fixed emote input when not in the first char
This commit is contained in:
@@ -468,7 +468,7 @@ void SplitInput::updateColonMenu()
|
|||||||
auto &edit = *this->ui_.textEdit;
|
auto &edit = *this->ui_.textEdit;
|
||||||
|
|
||||||
auto text = edit.toPlainText();
|
auto text = edit.toPlainText();
|
||||||
auto position = edit.textCursor().position();
|
auto position = edit.textCursor().position() - 1;
|
||||||
|
|
||||||
if (text.length() == 0)
|
if (text.length() == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user