Fixed bug in filtertree.cpp

This commit is contained in:
Mark Morschhäuser 2014-06-18 12:10:15 +02:00
parent 8708c96695
commit 929bcb55da

View file

@ -266,7 +266,7 @@ FilterItemList *FilterTree::attrTypeList(CardFilter::Attr attr,
int FilterTree::findTermIndex(CardFilter::Attr attr, CardFilter::Type type,
const QString &term)
{
attrTypeList(attr, type)->termIndex(term);
return attrTypeList(attr, type)->termIndex(term);
}
int FilterTree::findTermIndex(const CardFilter *f)