Buffer const & realbuffer = *buffer().masterBuffer();
BranchList const & branchlist = realbuffer.params().branchlist();
Branch const * ourBranch = branchlist.find(params_.branch);
- // this branch is defined in child only
- if (!ourBranch) {
- ourBranch = buffer().params().branchlist().find(params_.branch);
- if (ourBranch)
- return ourBranch->isSelected();
- else
- return false;
- }
+ if (!ourBranch)
+ return false;
return ourBranch->isSelected();
}