]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
no message
authorstv <stv@opencascade.com>
Tue, 28 Feb 2006 05:57:25 +0000 (05:57 +0000)
committerstv <stv@opencascade.com>
Tue, 28 Feb 2006 05:57:25 +0000 (05:57 +0000)
src/QDS/QDS_Datum.cxx

index d615f2c719b5e65723008d15625d6aac1a71fc81..14dce09f88ba873f7f7a87c73c3411a707947021 100644 (file)
@@ -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