Skip to content

Commit

Permalink
clear expression on empty value and set expression when there is a va…
Browse files Browse the repository at this point in the history
…lue. this fixes #37843
  • Loading branch information
signedav committed Aug 20, 2020
1 parent 6712278 commit cbad71c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -143,7 +143,7 @@ void QgsRelationReferenceSearchWidgetWrapper::onValueChanged( const QVariant &va

void QgsRelationReferenceSearchWidgetWrapper::onValuesChanged( const QVariantList &values )
{
if ( !values.isEmpty() )
if ( values.isEmpty() )
{
clearExpression();
emit valueCleared();
Expand Down

0 comments on commit cbad71c

Please sign in to comment.