Remove the Twitch Channel when closing the split

This commit is contained in:
Bur0k 2018-01-17 18:22:54 +01:00 committed by fourtf
parent 84186da16c
commit 728b6e74a8

View file

@ -317,6 +317,7 @@ void Split::doAddSplit()
void Split::doCloseSplit()
{
SplitContainer *page = static_cast<SplitContainer *>(this->parentWidget());
singletons::ChannelManager::getInstance().removeTwitchChannel(this->channel->name);
page->removeFromLayout(this);
}