Add setting to only show tabs with live channels (#4358)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -935,7 +935,14 @@ void SplitContainer::refreshTabLiveStatus()
|
||||
}
|
||||
}
|
||||
|
||||
this->tab_->setLive(liveStatus);
|
||||
if (this->tab_->setLive(liveStatus))
|
||||
{
|
||||
auto *notebook = dynamic_cast<Notebook *>(this->parentWidget());
|
||||
if (notebook)
|
||||
{
|
||||
notebook->refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user