From 12a6a0774e2b7c8253660c8496f60078dd72d79b Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 19 Apr 2010 16:05:40 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/TocWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2