Skip to content

Commit 032ca68

Browse files
authoredNov 9, 2017
Merge pull request #5572 from signedav/valuerelationwidget
Value relation widget takes key again instead of value (in Attribute Form) Fix #17261
2 parents 1ff50fd + 2daae54 commit 032ca68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ QVariant QgsValueRelationWidgetWrapper::value() const
6666
{
6767
if ( item.value == mLineEdit->text() )
6868
{
69-
v = item.value;
69+
v = item.key;
7070
break;
7171
}
7272
}

0 commit comments

Comments
 (0)
Please sign in to comment.