diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 4685ba2c..e8ed1edd 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -550,9 +550,9 @@ void ChannelView::setChannel(ChannelPtr newChannel) // Notifications if (auto tc = dynamic_cast(newChannel.get())) { - tc->liveStatusChanged.connect([this]() { + this->connections_.push_back(tc->liveStatusChanged.connect([this]() { this->liveStatusChanged.invoke(); // - }); + })); } }