Don't clear chatbox text when starting a reply

This commit is contained in:
Tobias Fella
2022-11-27 17:25:56 +01:00
parent e813fc336d
commit 9bf5c1adf2
2 changed files with 9 additions and 1 deletions

View File

@@ -1209,6 +1209,9 @@ QString NeoChatRoom::chatBoxReplyId() const
void NeoChatRoom::setChatBoxReplyId(const QString &replyId)
{
if (replyId == m_chatBoxReplyId) {
return;
}
m_chatBoxReplyId = replyId;
Q_EMIT chatBoxReplyIdChanged();
}
@@ -1220,6 +1223,9 @@ QString NeoChatRoom::chatBoxEditId() const
void NeoChatRoom::setChatBoxEditId(const QString &editId)
{
if (editId == m_chatBoxEditId) {
return;
}
m_chatBoxEditId = editId;
Q_EMIT chatBoxEditIdChanged();
}