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:
TranRed 2018-10-24 10:33:35 +02:00 committed by fourtf
parent c49f17cc07
commit 6ee7b1ef1f

View file

@ -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);