mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-25 00:50:33 +05:00
Fix of 0022478: EDF GEOM [XAO] : Bad display of integer fields
This commit is contained in:
parent
855ee33e8a
commit
53c951cf82
@ -2570,8 +2570,8 @@ QList<QVariant> GEOM_Displayer::groupFieldData( const QList<QVariant>& theFieldS
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( aVariant.type() == QVariant::Int )
|
if( aVariant.type() == QVariant::LongLong )
|
||||||
aValue = double( aVariant.toInt() );
|
aValue = double( aVariant.toLongLong() );
|
||||||
else if( aVariant.type() == QVariant::Double )
|
else if( aVariant.type() == QVariant::Double )
|
||||||
aValue = aVariant.toDouble();
|
aValue = aVariant.toDouble();
|
||||||
aNorm += aValue * aValue;
|
aNorm += aValue * aValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user