Skip to content

Commit

Permalink
Vertex editor: same formatting as displayText
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 12, 2020
1 parent ab149e1 commit fb99471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/vertextool/qgsvertexeditor.cpp
Expand Up @@ -504,6 +504,6 @@ void CoordinateItemDelegate::setEditorData( QWidget *editor, const QModelIndex &
QLineEdit *lineEdit = qobject_cast<QLineEdit *>( editor );
if ( lineEdit && index.isValid() )
{
lineEdit->setText( QLocale().toString( index.data( ).toDouble( ) ) );
lineEdit->setText( QLocale().toString( index.data( ).toDouble( ), 'f', 4 ) );
}
}

0 comments on commit fb99471

Please sign in to comment.