Skip to content

Commit

Permalink
fix: only clear reply target when inline replying
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Sep 8, 2024
1 parent 336536c commit 712d540
Showing 1 changed file with 4 additions and 1 deletion.
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 712d540

Please sign in to comment.