Fix selection clearing not working in Reply window (#4218)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
kornes
2022-12-07 18:21:04 +00:00
committed by GitHub
parent e68a3fcd30
commit a16d148dfd
5 changed files with 29 additions and 2 deletions
+2 -2
View File
@@ -155,12 +155,12 @@ void SplitInput::initLayout()
this->clearInput();
});
// clear channelview selection when selecting in the input
// Forward selection change signal
QObject::connect(this->ui_.textEdit, &QTextEdit::copyAvailable,
[this](bool available) {
if (available)
{
this->split_->view_->clearSelection();
this->selectionChanged.invoke();
}
});