Commit e272945f authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Make snippet search case insensitive.

parent 8c0ea537
Pipeline #193323 passed with stage
in 14 minutes and 26 seconds
......@@ -83,6 +83,7 @@ SnippetView::SnippetView(KateSnippetGlobal *plugin, KTextEditor::MainWindow *mai
m_proxy = new SnippetFilterModel(this);
m_proxy->setFilterKeyColumn(0);
m_proxy->setFilterCaseSensitivity(Qt::CaseInsensitive);
m_proxy->setSourceModel(SnippetStore::self());
connect(filterText, &KLineEdit::textChanged, m_proxy, &QSortFilterProxyModel::setFilterFixedString);
......
Supports Markdown
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