diff --git a/shop/shopform.cpp b/shop/shopform.cpp index e998652..0ce98a4 100644 --- a/shop/shopform.cpp +++ b/shop/shopform.cpp @@ -392,6 +392,7 @@ void ShopForm::on_commoditySearch_textChanged(const QString &text) QSortFilterProxyModel proxy; proxy.setSourceModel(m_commodityModel); proxy.setFilterKeyColumn(0); + proxy.setFilterCaseSensitivity(Qt::CaseInsensitive); proxy.setFilterFixedString(text); auto moveToIndex = [this](const QModelIndex &matchingIndex) {