Remove the Twitch Channel when closing the split
This commit is contained in:
@@ -317,6 +317,7 @@ void Split::doAddSplit()
|
|||||||
void Split::doCloseSplit()
|
void Split::doCloseSplit()
|
||||||
{
|
{
|
||||||
SplitContainer *page = static_cast<SplitContainer *>(this->parentWidget());
|
SplitContainer *page = static_cast<SplitContainer *>(this->parentWidget());
|
||||||
|
singletons::ChannelManager::getInstance().removeTwitchChannel(this->channel->name);
|
||||||
page->removeFromLayout(this);
|
page->removeFromLayout(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user