AppFwk : Use 'g' instead of 'f' to create text from double values

This commit is contained in:
Magne Sjaastad 2018-02-16 10:14:08 +01:00
parent ec70639a8f
commit 9184ef14ca

View File

@ -84,7 +84,7 @@ void PdmUiDoubleValueEditor::configureAndUpdateUi(const QString& uiConfigName)
QString textValue;
if (valueOk)
{
textValue = QString::number(value, 'f', m_attributes.m_decimals);
textValue = QString::number(value, 'g', m_attributes.m_decimals);
}
else
{