Fix bug #6661: Outliner filter bar should not be case sensitive.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34219 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-04-19 16:05:40 +00:00
parent 830788118b
commit 12a6a0774e

View File

@ -455,7 +455,7 @@ void TocWidget::filterContents()
QModelIndex index = indices[i];
bool const matches =
index.data().toString().contains(
filterLE->text(), Qt::CaseSensitive);
filterLE->text(), Qt::CaseInsensitive);
tocTV->setRowHidden(index.row(), index.parent(), !matches);
}
// recursively unhide parents of unhidden children