From 712d5405cb4ef374fdb29dfb9f72e0e3a0f241b4 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 8 Sep 2024 15:18:54 +0200 Subject: [PATCH 1/2] fix: only clear reply target when inline replying --- src/widgets/splits/SplitInput.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index b45928a82bb..3158e4c0607 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() From 4bdcc1ccd17ebcd6788517f90470a7787eb8330b Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 8 Sep 2024 15:22:54 +0200 Subject: [PATCH 2/2] chore: add changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07bec5f95d4..ff3d5525913 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)