Skip to content
Permalink
Browse files

Use displayString to get the formatted value

  • Loading branch information
elpaso committed Jun 5, 2018
1 parent 3e44db5 commit e56b72afbb5404c5dc059416e1fd549bf443bee1
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/editorwidgets/qgstexteditwrapper.cpp
@@ -217,7 +217,9 @@ void QgsTextEditWrapper::setWidgetValue( const QVariant &val )
v = QgsApplication::nullRepresentation();
}
else
v = val.toString();
{
v = field().displayString( val );
}

if ( mTextEdit )
{

0 comments on commit e56b72a

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