mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed emote input when not in the first char
This commit is contained in:
parent
ea54b10f1d
commit
391ba5476f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue