mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove the Twitch Channel when closing the split
This commit is contained in:
parent
84186da16c
commit
728b6e74a8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue