Skip to content
Snippets Groups Projects
Commit b88adbfa authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix for missing frameset on create filter

parent e379368f
Branches
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28152 passed
...@@ -238,7 +238,10 @@ Feed::Filter* Feed::filter(const std::unordered_set<Channel> &channels) { ...@@ -238,7 +238,10 @@ Feed::Filter* Feed::filter(const std::unordered_set<Channel> &channels) {
Feed::Filter* Feed::filter(const std::unordered_set<std::string> &sources, const std::unordered_set<Channel> &channels) { Feed::Filter* Feed::filter(const std::unordered_set<std::string> &sources, const std::unordered_set<Channel> &channels) {
std::unordered_set<uint32_t> fsids; std::unordered_set<uint32_t> fsids;
for (const auto &src : sources) { for (const auto &src : sources) {
fsids.emplace(fsid_lookup_.at(src)); auto i = fsid_lookup_.find(src);
if (i != fsid_lookup_.end()) {
fsids.emplace(i->second);
}
} }
return filter(fsids, channels); return filter(fsids, channels);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment