mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
clear expression on empty value and set expression when there is a value. this fixes #37843
This commit is contained in:
parent
6712278a42
commit
cbad71c2cd
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user