mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +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
|
||||
{
|
||||
if( aVariant.type() == QVariant::Int )
|
||||
aValue = double( aVariant.toInt() );
|
||||
if( aVariant.type() == QVariant::LongLong )
|
||||
aValue = double( aVariant.toLongLong() );
|
||||
else if( aVariant.type() == QVariant::Double )
|
||||
aValue = aVariant.toDouble();
|
||||
aNorm += aValue * aValue;
|
||||
|
Loading…
Reference in New Issue
Block a user