mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed broken "show message length" (#820)
* fixed broken "show message length" This should fix #818. Didn't build and don't really know c++ #yolo #pleasereview #kappa * Update SplitInput.cpp removed a useless space that was created by copy pasting
This commit is contained in:
parent
c49f17cc07
commit
6ee7b1ef1f
1 changed files with 3 additions and 3 deletions
|
@ -426,13 +426,13 @@ void SplitInput::editTextChanged()
|
|||
|
||||
QString labelText;
|
||||
|
||||
if (text.length() == 0 || getSettings()->showMessageLength)
|
||||
if (text.length() > 0 && getSettings()->showMessageLength)
|
||||
{
|
||||
labelText = "";
|
||||
labelText = QString::number(text.length());
|
||||
}
|
||||
else
|
||||
{
|
||||
labelText = QString::number(text.length());
|
||||
labelText = "";
|
||||
}
|
||||
|
||||
this->ui_.textEditLength->setText(labelText);
|
||||
|
|
Loading…
Reference in a new issue