]> git.lyx.org Git - features.git/commitdiff
Fix bug #6661: Outliner filter bar should not be case sensitive.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 19 Apr 2010 16:05:40 +0000 (16:05 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 19 Apr 2010 16:05:40 +0000 (16:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34219 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/TocWidget.cpp

index 366e29a8adce5051c55f1c2ef5aaff95d7240519..80e867c7d1d05e3ce1b80f9e7fc87364c3c7b296 100644 (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