mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Remove the Twitch Channel when closing the split
This commit is contained in:
parent
84186da16c
commit
728b6e74a8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue