diff --git a/CHANGELOG.md b/CHANGELOG.md index 07bec5f95..ff3d55259 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ - Minor: Improve appearance of reply button. (#5491) - Minor: Introduce HTTP API for plugins. (#5383, #5492, #5494) - Minor: Support more Firefox variants for incognito link opening. (#5503) -- Minor: Replying to a message will now display the message being replied to. (#4350, #5519) +- Minor: Replying to a message will now display the message being replied to. (#4350, #5519, #5586) - Minor: Links can now have prefixes and suffixes such as parentheses. (#5486, #5515) - Minor: Added support for scrolling in splits with touchscreen panning gestures. (#5524) - Minor: Removed experimental IRC support. (#5547) diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index b45928a82..3158e4c06 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -1223,7 +1223,10 @@ void SplitInput::clearInput() this->currMsg_ = ""; this->ui_.textEdit->setText(""); this->ui_.textEdit->moveCursor(QTextCursor::Start); - this->clearReplyTarget(); + if (this->enableInlineReplying_) + { + this->clearReplyTarget(); + } } void SplitInput::clearReplyTarget()