Duplicate spaces now count towards the display message length (#3002)

This commit is contained in:
Mm2PL
2021-08-14 15:16:16 +02:00
committed by GitHub
parent 113a7795f4
commit d46589ca26
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -639,9 +639,6 @@ void SplitInput::editTextChanged()
this->textChanged.invoke(text);
text = text.trimmed();
static QRegularExpression spaceRegex("\\s\\s+");
text = text.replace(spaceRegex, " ");
text =
app->commands->execCommand(text, this->split_->getChannel(), true);
}