save messages sent with ctrl enter to history as well

This commit is contained in:
ckath
2018-10-21 14:11:03 +02:00
committed by fourtf
parent e259b9e39f
commit e900b10e0c
-5
View File
@@ -209,11 +209,6 @@ void SplitInput::installKeyPressedEvent()
{
this->currMsg_ = QString();
this->ui_.textEdit->setText(QString());
this->prevIndex_ = 0;
}
else if (message == this->prevMsg_.at(this->prevMsg_.size() - 1))
{
this->prevMsg_.removeLast();
}
this->prevIndex_ = this->prevMsg_.size();
}