From: stv Date: Tue, 28 Feb 2006 05:57:25 +0000 (+0000) Subject: no message X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1adf0a79ff703fb51c8964c4545bf84afad1b52e;p=modules%2Fgui.git no message --- diff --git a/src/QDS/QDS_Datum.cxx b/src/QDS/QDS_Datum.cxx index d615f2c71..14dce09f8 100644 --- a/src/QDS/QDS_Datum.cxx +++ b/src/QDS/QDS_Datum.cxx @@ -392,6 +392,9 @@ void QDS_Datum::clear() void QDS_Datum::setValue( const QVariant& val ) { + if ( val == value() ) + return; + if ( val.isValid() && val.canCast( QVariant::String ) ) setStringValue( val.toString() ); else