From: Vincent van Ravesteijn Date: Mon, 19 Apr 2010 16:05:40 +0000 (+0000) Subject: Fix bug #6661: Outliner filter bar should not be case sensitive. X-Git-Tag: 2.0.0~3404 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=12a6a0774e2b7c8253660c8496f60078dd72d79b;p=features.git 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 --- diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 366e29a8ad..80e867c7d1 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -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