mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
CSVTools::ReportTable should now have case insensitive sorting
This commit is contained in:
parent
c44f87afd1
commit
9b971caddc
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ CSVTools::ReportTable::ReportTable (CSMDoc::Document& document,
|
||||||
setSelectionMode (QAbstractItemView::ExtendedSelection);
|
setSelectionMode (QAbstractItemView::ExtendedSelection);
|
||||||
|
|
||||||
mProxyModel = new QSortFilterProxyModel (this);
|
mProxyModel = new QSortFilterProxyModel (this);
|
||||||
|
mProxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||||
mProxyModel->setSourceModel (mModel);
|
mProxyModel->setSourceModel (mModel);
|
||||||
mProxyModel->setSortRole(Qt::UserRole);
|
mProxyModel->setSortRole(Qt::UserRole);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue