From e900b10e0cc6830c4bf96e281b4cad4966049b18 Mon Sep 17 00:00:00 2001 From: ckath Date: Sun, 21 Oct 2018 14:11:03 +0200 Subject: [PATCH] save messages sent with ctrl enter to history as well --- src/widgets/splits/SplitInput.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index 2f997d8d6..714c261a2 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -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(); }