CSVTools::ReportTable should now have case insensitive sorting

pull/420/head
Alf Henrik Sauge 7 years ago
parent c44f87afd1
commit 9b971caddc

@ -156,6 +156,7 @@ CSVTools::ReportTable::ReportTable (CSMDoc::Document& document,
setSelectionMode (QAbstractItemView::ExtendedSelection);
mProxyModel = new QSortFilterProxyModel (this);
mProxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
mProxyModel->setSourceModel (mModel);
mProxyModel->setSortRole(Qt::UserRole);

Loading…
Cancel
Save