From 1adf0a79ff703fb51c8964c4545bf84afad1b52e Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 28 Feb 2006 05:57:25 +0000 Subject: [PATCH] no message --- src/QDS/QDS_Datum.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2