Skip to content
Permalink
Browse files

Vertex editor: same formatting as displayText

  • Loading branch information
elpaso committed Jun 12, 2020
1 parent ab149e1 commit fb994711bae2b8f3a459e51734010ce241c7a4c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/vertextool/qgsvertexeditor.cpp
@@ -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.
You can’t perform that action at this time.