Skip to content

Commit

Permalink
Filtering in expression widget should be case insensitive (refs #11627)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 24, 2015
1 parent 433e87d commit aab071d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/qgsexpressionbuilderwidget.h
Expand Up @@ -33,7 +33,10 @@
class QgsExpressionItemSearchProxy : public QSortFilterProxyModel
{
public:
QgsExpressionItemSearchProxy() { }
QgsExpressionItemSearchProxy()
{
setFilterCaseSensitivity( Qt::CaseInsensitive );
}

bool filterAcceptsRow( int source_row, const QModelIndex &source_parent ) const override
{
Expand Down

0 comments on commit aab071d

Please sign in to comment.