mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
830788118b
commit
12a6a0774e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user