Skip to content
Permalink
Browse files

Add 'NULL' to autocomplete list in expression editor

  • Loading branch information
uclaros authored and nyalldawson committed Mar 10, 2021
1 parent 570efee commit ecaf83b957aca255425fd76c7ec05a7adebcc4f5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/codeeditors/qgscodeeditorexpression.cpp
@@ -157,6 +157,7 @@ void QgsCodeEditorExpression::updateApis()
mApis->add( fieldName );
}

mApis->add( QString( "NULL" ) );
mApis->prepare();
mSqlLexer->setAPIs( mApis );
}

0 comments on commit ecaf83b

Please sign in to comment.