Commit aa56b734 authored by Thomas Baumgart's avatar Thomas Baumgart
Browse files

Make search in account/categories and budget view case insensitive

BUG: 429489
FIXED-IN: 5.1.1
parent 966c2133
...@@ -181,6 +181,8 @@ AccountsViewProxyModel *KMyMoneyAccountTreeView::init(View view) ...@@ -181,6 +181,8 @@ AccountsViewProxyModel *KMyMoneyAccountTreeView::init(View view)
d->m_model->setSourceModel(sourceModel); d->m_model->setSourceModel(sourceModel);
d->m_model->setSourceColumns(sourceModel->getColumns()); d->m_model->setSourceColumns(sourceModel->getColumns());
d->m_model->setFilterCaseSensitivity(Qt::CaseInsensitive);
d->m_model->setSortLocaleAware(true);
setModel(d->m_model); setModel(d->m_model);
connect(this->header(), &QWidget::customContextMenuRequested, d->m_model, &AccountsViewProxyModel::slotColumnsMenu); connect(this->header(), &QWidget::customContextMenuRequested, d->m_model, &AccountsViewProxyModel::slotColumnsMenu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment