Skip to content
Permalink
Browse files

Vertex editor: same formatting as displayText

(cherry picked from commit fb99471)
  • Loading branch information
elpaso authored and nyalldawson committed Jun 19, 2020
1 parent 4faea48 commit 3409567fed56bd28d5e6856496f0fbcac6ccc53e
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 3409567

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