Skip to content
Browse files
Attribute Form - value relation widget takes key again instead of value
Corrected: Value relation widget update incorrectly tries to use value instead of key

The mapped key has to be set in the return value (not the input value).
In the release-2_18 the key was returned correctly but in another structure. So this is corrected now.
  • Loading branch information
signedav committed Nov 9, 2017
1 parent 0ccf6fa commit 2daae54d1626335e844ead85f8f1c31cb2420aef
Showing 1 changed file with 1 addition and 1 deletion.
@@ -66,7 +66,7 @@ QVariant QgsValueRelationWidgetWrapper::value() const
if ( item.value == mLineEdit->text() )
v = item.value;
v = item.key;

0 comments on commit 2daae54

Please sign in to comment.