Fix selection clearing not working in Reply window (#4218)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -115,6 +115,7 @@ Split::Split(QWidget *parent)
|
||||
});
|
||||
this->updateInputPlaceholder();
|
||||
|
||||
// clear SplitInput selection when selecting in ChannelView
|
||||
this->view_->selectionChanged.connect([this]() {
|
||||
if (this->input_->hasSelection())
|
||||
{
|
||||
@@ -122,6 +123,14 @@ Split::Split(QWidget *parent)
|
||||
}
|
||||
});
|
||||
|
||||
// clear ChannelView selection when selecting in SplitInput
|
||||
this->input_->selectionChanged.connect([this]() {
|
||||
if (this->view_->hasSelection())
|
||||
{
|
||||
this->view_->clearSelection();
|
||||
}
|
||||
});
|
||||
|
||||
this->view_->openChannelIn.connect([this](
|
||||
QString twitchChannel,
|
||||
FromTwitchLinkOpenChannelIn openIn) {
|
||||
|
||||
Reference in New Issue
Block a user