Skip to content
Permalink
Browse files

clear expression on empty value and set expression when there is a va…

…lue. this fixes #37843
  • Loading branch information
signedav committed Aug 20, 2020
1 parent 6712278 commit cbad71c2cdcc7eae49bbb868bb2cdb88194123ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencesearchwidgetwrapper.cpp
@@ -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();

0 comments on commit cbad71c

Please sign in to comment.
You can’t perform that action at this time.