Skip to content

Commit

Permalink
fix: only clear reply target when inline replying (#5586)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz authored Sep 8, 2024
1 parent 336536c commit 1240bd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion src/widgets/splits/SplitInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1240bd5

Please sign in to comment.