Skip to content

Commit

Permalink
Update src/gui/qgsexpressiontreeview.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 12, 2021
1 parent 840b7d7 commit 2ab7d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressiontreeview.cpp
Expand Up @@ -195,7 +195,7 @@ void QgsExpressionTreeView::setProject( QgsProject *project )

void QgsExpressionTreeView::setSearchText( const QString &text )
{
const QRegularExpression regularExpression = QRegularExpression( text );
const QRegularExpression regularExpression( QRegularExpression::wildcardToRegularExpression( text ) );
if ( regularExpression.isValid() )
{
mProxyModel->setFilterRegularExpression( regularExpression );
Expand Down

0 comments on commit 2ab7d33

Please sign in to comment.