Finish PM composer cleanup and skip history requests after shutdown
This commit is contained in:
1 parent
f83033d3a1
commit
e88f3ce46a
2 files changed
+5
No files matched your search
@@ -495,6 +495,8 @@ void InputBar::forgetDmHistory(const QString& target, quint64 generation) {
|
||||
m_pttActive = false;
|
||||
if (m_recorder && m_recorder->isRecording()) m_recorder->stopRecording();
|
||||
m_recordTarget.clear(); m_recordReply.clear(); m_recordDmGeneration = 0;
|
||||
m_pttBtn->setStyleSheet("QPushButton { border: none; border-radius: 4px; background: transparent; }"
|
||||
"QPushButton:hover { background: palette(light); }");
|
||||
}
|
||||
if (m_channelIdForRecord == target && m_dmGeneration == generation) {
|
||||
++m_attachmentContext; clearPendingAttachment(); clearReply(); m_input->clear();
|
||||
|
||||
Reference in new issue
Block a user